$ lein version
Leiningen 1.1.0 on Java 1.6.0_17 Java HotSpot(TM) 64-Bit Server VM
/clojure-workspace/clojure-kata
$ cat project.clj
(defproject com.howardlewisship/clojure-kata "1.0.0-SNAPSHOT"
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.2.0-SNAPSHOT"]
[org.clojure/clojure-contrib "1.2.0-SNAPSHOT"]])/clojure-workspace/clojure-kata
$ lein deps
Downloading: org/clojure/clojure/1.2.0-SNAPSHOT/clojure-1.2.0-SNAPSHOT.pom from central
Downloading: org/clojure/clojure/1.2.0-SNAPSHOT/clojure-1.2.0-SNAPSHOT.pom from clojure
Downloading: org/clojure/clojure/1.2.0-SNAPSHOT/clojure-1.2.0-SNAPSHOT.pom from clojure-snapshots
Downloading: org/clojure/clojure/1.2.0-SNAPSHOT/clojure-1.2.0-SNAPSHOT.pom from clojars
Downloading: org/clojure/clojure/1.2.0-SNAPSHOT/clojure-1.2.0-SNAPSHOT.jar from central
Downloading: org/clojure/clojure/1.2.0-SNAPSHOT/clojure-1.2.0-SNAPSHOT.jar from clojure
Downloading: org/clojure/clojure/1.2.0-SNAPSHOT/clojure-1.2.0-SNAPSHOT.jar from clojure-snapshots
Downloading: org/clojure/clojure/1.2.0-SNAPSHOT/clojure-1.2.0-SNAPSHOT.jar from clojars
[null] An error has occurred while processing the Maven artifact tasks.
[null] Diagnosis:
[null]
[null] Unable to resolve artifact: Missing:
[null] ----------
[null] 1) org.clojure:clojure:jar:1.2.0-SNAPSHOT
[null]
[null] Try downloading the file manually from the project website.
[null]
[null] Then, install it using the command:
[null] mvn install:install-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[null]
[null] Alternatively, if you host your own repository you can deploy the file there:
[null] mvn deploy:deploy-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[null]
[null] Path to dependency:
[null] 1) org.apache.maven:super-pom:jar:2.0
[null] 2) org.clojure:clojure:jar:1.2.0-SNAPSHOT
[null]
[null] ----------
[null] 1 required artifact is missing.
[null]
[null] for artifact:
[null] org.apache.maven:super-pom:jar:2.0
[null]
[null] from the specified remote repositories:
[null] clojure (http://build.clojure.org/releases),
[null] clojars (http://clojars.org/repo/),
[null] clojure-snapshots (http://build.clojure.org/snapshots),
[null] central (http://repo1.maven.org/maven2)
[null]
[null]
Exception in thread "main" Unable to resolve artifact: Missing:
- org.clojure:clojure:jar:1.2.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven:super-pom:jar:2.0
2) org.clojure:clojure:jar:1.2.0-SNAPSHOT
1 required artifact is missing.
for artifact:
org.apache.maven:super-pom:jar:2.0
from the specified remote repositories:
clojure (http://build.clojure.org/releases),
clojars (http://clojars.org/repo/),
clojure-snapshots (http://build.clojure.org/snapshots),
central (http://repo1.maven.org/maven2)
(NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:4658)
at clojure.core$eval__5236.invoke(core.clj:2017)
at clojure.main$eval_opt__7411.invoke(main.clj:227)
at clojure.main$initialize__7418.invoke(main.clj:246)
at clojure.main$null_opt__7446.invoke(main.clj:271)
at clojure.main$main__7466.doInvoke(main.clj:346)
at clojure.lang.RestFn.invoke(RestFn.java:426)
at clojure.lang.Var.invoke(Var.java:363)
at clojure.lang.AFn.applyToHelper(AFn.java:175)
at clojure.lang.Var.applyTo(Var.java:476)
at clojure.main.main(main.java:37)
Caused by: Unable to resolve artifact: Missing:
- org.clojure:clojure:jar:1.2.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven:super-pom:jar:2.0
2) org.clojure:clojure:jar:1.2.0-SNAPSHOT
1 required artifact is missing.
for artifact:
org.apache.maven:super-pom:jar:2.0
from the specified remote repositories:
clojure (http://build.clojure.org/releases),
clojars (http://clojars.org/repo/),
clojure-snapshots (http://build.clojure.org/snapshots),
central (http://repo1.maven.org/maven2)
at org.apache.maven.artifact.ant.DependenciesTask.doExecute(DependenciesTask.java:175)
at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:678)
at leiningen.deps$deps__716.invoke(deps.clj:61)
at leiningen.deps$deps__716.invoke(deps.clj:66)
at clojure.lang.Var.invoke(Var.java:359)
at clojure.lang.AFn.applyToHelper(AFn.java:173)
at clojure.lang.Var.applyTo(Var.java:476)
at clojure.core$apply__4370.invoke(core.clj:436)
at leiningen.core$_main__46$fn__49.invoke(core.clj:81)
at leiningen.core$_main__46.doInvoke(core.clj:78)
at clojure.lang.RestFn.invoke(RestFn.java:413)
at user$eval__55.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:4642)
... 10 more
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
- org.clojure:clojure:jar:1.2.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven:super-pom:jar:2.0
2) org.clojure:clojure:jar:1.2.0-SNAPSHOT
1 required artifact is missing.
for artifact:
org.apache.maven:super-pom:jar:2.0
from the specified remote repositories:
clojure (http://build.clojure.org/releases),
clojars (http://clojars.org/repo/),
clojure-snapshots (http://build.clojure.org/snapshots),
central (http://repo1.maven.org/maven2)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:324)
at org.apache.maven.artifact.ant.DependenciesTask.doExecute(DependenciesTask.java:170)
... 22 more
~/clojure-workspace/clojure-kata
$
New project (just created with lein new), editted the project.clj, trying to download Clojure 1.2.0-SNAPSHOT and get a mysterious Maven error. Ick.