You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on my corporate network with the following profiles.clj:
{:user
{:mirrors
{"central" {:name "central"
:url "http://corp.com/artifactory/maven"}
"clojars" {:name "clojars" ; I've tried all kinds of names for these
:url "http://corp.com/artifactory/maven"}}}} ; clojars is mirrored in our maven repo
when I try to make a new template project e.g. lein new compojure test-compoj
It pulls down everything except for the template:
Retrieving org/clojure/tools.nrepl/0.2.3/tools.nrepl-0.2.3.pom from maven
Retrieving org/clojure/pom.contrib/0.1.2/pom.contrib-0.1.2.pom from maven
Retrieving org/sonatype/oss/oss-parent/7/oss-parent-7.pom from maven
Retrieving clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.pom from maven
Retrieving org/clojure/tools.nrepl/0.2.3/tools.nrepl-0.2.3.jar from maven
Retrieving clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.jar from maven
Applying task new to (compojure compoj-test)
Failed to resolve version for compojure:lein-template:jar:RELEASE: Could not find metadata compojure:lein-template/maven-metadata.xml in local (/home/tgeorge/.m2/repository)
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Could not find template compojure on the classpath.
When I look in ~/.m2/repository/compojure/lein-template I see a file called resolver-status.properties with the contents:
#NOTE: This is an internal implementation file, its format can be changed without prior notice.
#Mon Dec 15 14:51:21 EST 2014
maven-metadata-clojars.xml/default-http\://clojars.org/repo/.lastUpdated=1418673081745
maven-metadata-central.xml.error=Could not transfer metadata compojure\:lein-template/maven-metadata.xml from/to central (http\://repo1.maven.org/maven2)\: repo1.maven.org\: Name or service not known
maven-metadata-central.xml/default-http\://repo1.maven.org/maven2/.lastUpdated=1418673081745
maven-metadata-clojars.xml.error=Could not transfer metadata compojure\:lein-template/maven-metadata.xml from/to clojars (http\://clojars.org/repo/)\: clojars.org\: Name or service not known
It looks like it's trying to find the maven-metadata.xml files on clojars.org/maven.org, but they are inaccessable through my network. Is there a way to tell leiningen to look on my mirrored repositories for this metadata?
I'd also be willing to investigate this myself if I had a place to start off. Not sure if this is an issue with leinengen or Aether (I read in the pomegranate library that leiningen 2.0 was using this exclusively), or neither.
The text was updated successfully, but these errors were encountered:
I'm working on my corporate network with the following profiles.clj:
when I try to make a new template project e.g.
lein new compojure test-compoj
It pulls down everything except for the template:
When I look in
~/.m2/repository/compojure/lein-template
I see a file calledresolver-status.properties
with the contents:It looks like it's trying to find the maven-metadata.xml files on clojars.org/maven.org, but they are inaccessable through my network. Is there a way to tell leiningen to look on my mirrored repositories for this metadata?
I'd also be willing to investigate this myself if I had a place to start off. Not sure if this is an issue with leinengen or Aether (I read in the pomegranate library that leiningen 2.0 was using this exclusively), or neither.
The text was updated successfully, but these errors were encountered: