Skip to content

Instantly share code, notes, and snippets.

@zane
Created January 22, 2011 07:16
Show Gist options
  • Select an option

  • Save zane/790942 to your computer and use it in GitHub Desktop.

Select an option

Save zane/790942 to your computer and use it in GitHub Desktop.
$ lein deps
...
An error has occurred while processing the Maven artifact tasks.
Diagnosis:
Unable to resolve artifact: Missing:
----------
1) org.clojure:clojure-contrib:jar:1.1.0-master-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-contrib -Dversion=1.1.0-master-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-contrib -Dversion=1.1.0-master-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven:super-pom:jar:2.0
2) leiningen-run:leiningen-run:jar:0.3
3) org.clojure:clojure-contrib:jar:1.1.0-master-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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment