Hi Mark, Thanks so much for your help :) But I'm still stumped on this ''work:work:jar:0.2.4-SNAPSHOT'. It seems odd to downgrade the version to 0.1.2-SNAPSHOT to try to get it to resolve, doesn't it? Or is there something about downgrading developer versions that I'm not getting?
Is there a system or application log that I can view that would help illuminate what is going wrong when it tries to resolve this one? I tried to put the 0.2.4-SNAPSHOT version back in the project file... I'm running MacOSX 10.6.7. I've installed X11 SDK, XCode version 4, which automatically included a Maven installation. Here is the Maven info: $ which mvn /usr/bin/mvn $ mvn --version Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500) Java version: 1.6.0_24, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/ Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.6.7", arch: "x86_64", family: "mac" $ echo $M2_HOME /usr/share/maven $ echo $M2 /usr/share/maven/bin $ env TERM_PROGRAM=Apple_Terminal M2=/usr/share/maven/bin TERM=xterm-color SHELL=/bin/bash TMPDIR=/var/folders/IR/IRabaLIYFTOfhZl76Llm6++++TI/-Tmp-/ Apple_PubSub_Socket_Render=/tmp/launch-nE9Yha/Render TERM_PROGRAM_VERSION=273.1 COMMAND_MODE=unix2003 SSH_AUTH_SOCK=/tmp/launch-CppDr8/Listeners __CF_USER_TEXT_ENCODING=0x1F5:0:0 PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ local/bin:/usr/X11/bin:/users/ladonna/Leiningen:/users/ladonna/clojure/ dejour-1.1.0b/bin:/users/ladonna/clojure/dejour-1.1.0b/cljlib:/System/ Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/ Home LANG=en_US.UTF-8 SHLVL=1 M2_HOME=/usr/share/maven CLASSPATH=/users/ladonna/clojure/dejour-1.1.0b/cljlib I tried to resolve the dependencies again with the project.clj using lein.sh deps and the output is below: $ more project.clj (defproject recruitassist "1.0.0-SNAPSHOT" :description "FIXME: write" :dependencies [[org.clojure/clojure "1.2.0"] [org.clojure/clojure-contrib "1.2.0"] [postgresql/postgresql "9.0-801.jdbc4"] [clojureql "1.0.0"] [compojure "0.5.3"] [ring/ring-jetty-adapter "0.3.1"] [org.clojars.gukjoon/ojdbc "1.4"] [joda-time "1.6"] [clj-time "0.3.0"] [work "0.2.4-SNAPSHOT"] [clojure-csv "1.2.4"]] :dev-dependencies [[swank-clojure "1.2.1"]] :source-path "src/main/clojure" :test-path "test/main/clojure" :java-source-path "src/main/java" :java-test-path "test/main/java" :aot [recruitassist.core] :repositories {"snapshots" "http://mvn.getwoven.com/repos/woven- public-snapshots" "releases" "http://mvn.getwoven.com/repos/woven- public-releases"}) ______________ lein.sh deps [INFO] snapshot work:work:0.2.4-SNAPSHOT: checking for updates from releases [WARNING] repository metadata for: 'snapshot work:work:0.2.4-SNAPSHOT' could not be retrieved from repository: releases due to an error: Error transferring file [INFO] Repository 'releases' will be blacklisted [INFO] snapshot work:work:0.2.4-SNAPSHOT: checking for updates from snapshots [WARNING] repository metadata for: 'snapshot work:work:0.2.4-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Error transferring file [INFO] Repository 'snapshots' will be blacklisted [INFO] snapshot work:work:0.2.4-SNAPSHOT: checking for updates from clojure-snapshots [INFO] snapshot work:work:0.2.4-SNAPSHOT: checking for updates from clojars Downloading: work/work/0.2.4-SNAPSHOT/work-0.2.4-SNAPSHOT.pom from clojure-snapshots Downloading: work/work/0.2.4-SNAPSHOT/work-0.2.4-SNAPSHOT.pom from clojars Downloading: work/work/0.2.4-SNAPSHOT/work-0.2.4-SNAPSHOT.jar from clojure-snapshots Downloading: work/work/0.2.4-SNAPSHOT/work-0.2.4-SNAPSHOT.jar from clojars An error has occurred while processing the Maven artifact tasks. Diagnosis: Unable to resolve artifact: Missing: ---------- 1) work:work:jar:0.2.4-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=work -DartifactId=work - Dversion=0.2.4-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=work -DartifactId=work - Dversion=0.2.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file - Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:jar:2.0 2) work:work:jar:0.2.4-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), releases (http://mvn.getwoven.com/repos/woven-public-releases), clojars (http://clojars.org/repo/), clojure-snapshots (http://build.clojure.org/snapshots), snapshots (http://mvn.getwoven.com/repos/woven-public-snapshots), central (http://repo1.maven.org/maven2) Exception in thread "main" Unable to resolve artifact: Missing: ---------- 1) work:work:jar:0.2.4-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=work -DartifactId=work - Dversion=0.2.4-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=work -DartifactId=work - Dversion=0.2.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file - Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:jar:2.0 2) work:work:jar:0.2.4-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), releases (http://mvn.getwoven.com/repos/woven-public-releases), clojars (http://clojars.org/repo/), clojure-snapshots (http://build.clojure.org/snapshots), snapshots (http://mvn.getwoven.com/repos/woven-public-snapshots), central (http://repo1.maven.org/maven2) (NO_SOURCE_FILE:0) at clojure.lang.Compiler.eval(Compiler.java:5440) at clojure.lang.Compiler.eval(Compiler.java:5391) at clojure.core$eval.invoke(core.clj:2382) at clojure.main$eval_opt.invoke(main.clj:235) at clojure.main$initialize.invoke(main.clj:254) at clojure.main$script_opt.invoke(main.clj:270) at clojure.main$main.doInvoke(main.clj:354) at clojure.lang.RestFn.invoke(RestFn.java:458) at clojure.lang.Var.invoke(Var.java:377) at clojure.lang.AFn.applyToHelper(AFn.java:174) at clojure.lang.Var.applyTo(Var.java:482) at clojure.main.main(main.java:37) Caused by: Unable to resolve artifact: Missing: ---------- 1) work:work:jar:0.2.4-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=work -DartifactId=work - Dversion=0.2.4-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=work -DartifactId=work - Dversion=0.2.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file - Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:jar:2.0 2) work:work:jar:0.2.4-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), releases (http://mvn.getwoven.com/repos/woven-public-releases), clojars (http://clojars.org/repo/), clojure-snapshots (http://build.clojure.org/snapshots), snapshots (http://mvn.getwoven.com/repos/woven-public-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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:90) at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java: 265) at leiningen.deps$deps.invoke(deps.clj:132) at leiningen.deps$deps.invoke(deps.clj:155) at leiningen.deps$deps.invoke(deps.clj:156) at clojure.lang.Var.invoke(Var.java:365) at clojure.lang.AFn.applyToHelper(AFn.java:163) at clojure.lang.Var.applyTo(Var.java:482) at clojure.core$apply.invoke(core.clj:542) at leiningen.core$apply_task.invoke(core.clj:219) at leiningen.core$_main.doInvoke(core.clj:285) at clojure.lang.RestFn.invoke(RestFn.java:411) at clojure.lang.AFn.applyToHelper(AFn.java:163) at clojure.lang.RestFn.applyTo(RestFn.java:133) at clojure.core$apply.invoke(core.clj:542) at leiningen.core$_main.invoke(core.clj:288) at user$eval153.invoke(NO_SOURCE_FILE:1) at clojure.lang.Compiler.eval(Compiler.java:5424) ... 11 more Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing: ---------- 1) work:work:jar:0.2.4-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=work -DartifactId=work - Dversion=0.2.4-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=work -DartifactId=work - Dversion=0.2.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file - Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:jar:2.0 2) work:work:jar:0.2.4-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), releases (http://mvn.getwoven.com/repos/woven-public-releases), clojars (http://clojars.org/repo/), clojure-snapshots (http://build.clojure.org/snapshots), snapshots (http://mvn.getwoven.com/repos/woven-public-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) ... 34 more There must be something obvious here that I'm not getting or doing wrong, but alas, I just don't see it or know what to try :( ========================== On May 20, 5:20 pm, Mark Rathwell <mark.rathw...@gmail.com> wrote: > A couple things going on here, I think: > > First, it looks like maven is having problems communicating with the Woven > repositories ("snapshots" > "http://mvn.getwoven.com/repos/woven-public-snapshots" and "releases" > "http://mvn.getwoven.com/repos/woven-public-releases"), so it then stops > looking in those repositories. > > Then, I think it finds the version "0.1.2-SNAPSHOT" of 'work' in clojars, > but 'work' has a dependency on 'plumbing', which maven cannot find in any > repositories, so it stops. > > It looks like both of the dependencies you are having problems with are > maintained by Woven. I would suggest first contacting them to see if they > would be able to get updated artifacts into some public maven repository (be > it clojars, or their own public repo). > > If they won't do that, then ask if they would mind if you uploaded your own > versions to clojars, then use lein to upload the projects to clojars under > your username, and modify your project.clj to point to your versions. > > Github urls: > > clj-time: https://github.com/getwoven/clj-time > work: https://github.com/getwoven/work > > - Mark > > > > On Fri, May 20, 2011 at 2:08 PM, dudaroo <duda...@gmail.com> wrote: > > Thanks Mark... It seems that it is still not resolving correctly > > though... > > > I changed the line in the project.clj file from: > > [work "0.2.4-SNAPSHOT"] > > to > > [work "0.1.2-SNAPSHOT"] > > > Intuitively, I would've expected to have increased the version number > > as opposed to changing it to a lower number. However, this is indeed > > the version posted at the URL's you've provided below. > > > Here is the current project.clj file. The only change I've made is > > the version of the work snapshot noted above. > > > $ more project.clj > > (defproject recruitassist "1.0.0-SNAPSHOT" > > :description "FIXME: write" > > :dependencies [[org.clojure/clojure "1.2.0"] > > [org.clojure/clojure-contrib "1.2.0"] > > [postgresql/postgresql "9.0-801.jdbc4"] > > [clojureql "1.0.0"] > > [compojure "0.5.3"] > > [ring/ring-jetty-adapter "0.3.1"] > > [org.clojars.gukjoon/ojdbc "1.4"] > > [joda-time "1.6"] > > [clj-time "0.3.0-SNAPSHOT"] > > [work "0.1.2-SNAPSHOT"] > > [clojure-csv "1.2.4"]] > > :dev-dependencies [[swank-clojure "1.2.1"]] > > :source-path "src/main/clojure" > > :test-path "test/main/clojure" > > :java-source-path "src/main/java" > > :java-test-path "test/main/java" > > :aot [recruitassist.core] > > :repositories {"snapshots" "http://mvn.getwoven.com/repos/woven- > > public-snapshots" > > "releases" "http://mvn.getwoven.com/repos/woven- > > public-releases"}) > > > Running lein.sh deps, however continues to produce errors in resolving > > the dependencies... > > > $ lein.sh deps > > [INFO] snapshot clj-time:clj-time:0.3.0-SNAPSHOT: checking for updates > > from releases > > [WARNING] repository metadata for: 'snapshot clj-time:clj-time:0.3.0- > > SNAPSHOT' could not be retrieved from repository: releases due to an > > error: Error transferring file > > [INFO] Repository 'releases' will be blacklisted > > [INFO] snapshot clj-time:clj-time:0.3.0-SNAPSHOT: checking for updates > > from snapshots > > [WARNING] repository metadata for: 'snapshot clj-time:clj-time:0.3.0- > > SNAPSHOT' could not be retrieved from repository: snapshots due to an > > error: Error transferring file > > [INFO] Repository 'snapshots' will be blacklisted > > Downloading: clj-sys/plumbing/0.1.2-SNAPSHOT/plumbing-0.1.2- > > SNAPSHOT.pom from clojure-snapshots > > Downloading: clj-sys/plumbing/0.1.2-SNAPSHOT/plumbing-0.1.2- > > SNAPSHOT.pom from clojars > > Downloading: clj-sys/plumbing/0.1.2-SNAPSHOT/plumbing-0.1.2- > > SNAPSHOT.pom from central > > Downloading: clj-sys/plumbing/0.1.2-SNAPSHOT/plumbing-0.1.2- > > SNAPSHOT.jar from clojure-snapshots > > Downloading: clj-sys/plumbing/0.1.2-SNAPSHOT/plumbing-0.1.2- > > SNAPSHOT.jar from clojars > > Downloading: clj-sys/plumbing/0.1.2-SNAPSHOT/plumbing-0.1.2- > > SNAPSHOT.jar from central > > An error has occurred while processing the Maven artifact tasks. > > Diagnosis: > > > Unable to resolve artifact: Missing: > > ---------- > > 1) clj-sys:plumbing:jar:0.1.2-SNAPSHOT > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=clj-sys -DartifactId=plumbing > > -Dversion=0.1.2-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=clj-sys -DartifactId=plumbing - > > Dversion=0.1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file - > > Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) org.apache.maven:super-pom:jar:2.0 > > 2) work:work:jar:0.1.2-SNAPSHOT > > 3) clj-sys:plumbing:jar:0.1.2-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), > > releases (http://mvn.getwoven.com/repos/woven-public-releases), > > clojars (http://clojars.org/repo/), > > clojure-snapshots (http://build.clojure.org/snapshots), > > snapshots (http://mvn.getwoven.com/repos/woven-public-snapshots), > > central (http://repo1.maven.org/maven2) > > > Exception in thread "main" Unable to resolve artifact: Missing: > > ---------- > > 1) clj-sys:plumbing:jar:0.1.2-SNAPSHOT > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=clj-sys -DartifactId=plumbing > > -Dversion=0.1.2-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=clj-sys -DartifactId=plumbing - > > Dversion=0.1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file - > > Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) org.apache.maven:super-pom:jar:2.0 > > 2) work:work:jar:0.1.2-SNAPSHOT > > 3) clj-sys:plumbing:jar:0.1.2-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), > > releases (http://mvn.getwoven.com/repos/woven-public-releases), > > clojars (http://clojars.org/repo/), > > clojure-snapshots (http://build.clojure.org/snapshots), > > snapshots (http://mvn.getwoven.com/repos/woven-public-snapshots), > > central (http://repo1.maven.org/maven2) > > > (NO_SOURCE_FILE:0) > > at clojure.lang.Compiler.eval(Compiler.java:5440) > > at clojure.lang.Compiler.eval(Compiler.java:5391) > > at clojure.core$eval.invoke(core.clj:2382) > > at clojure.main$eval_opt.invoke(main.clj:235) > > at clojure.main$initialize.invoke(main.clj:254) > > at clojure.main$script_opt.invoke(main.clj:270) > > at clojure.main$main.doInvoke(main.clj:354) > > at clojure.lang.RestFn.invoke(RestFn.java:458) > > at clojure.lang.Var.invoke(Var.java:377) > > at clojure.lang.AFn.applyToHelper(AFn.java:174) > > at clojure.lang.Var.applyTo(Var.java:482) > > at clojure.main.main(main.java:37) > > Caused by: Unable to resolve artifact: Missing: > > ---------- > > 1) clj-sys:plumbing:jar:0.1.2-SNAPSHOT > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=clj-sys -DartifactId=plumbing > > -Dversion=0.1.2-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=clj-sys -DartifactId=plumbing - > > Dversion=0.1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file - > > Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) org.apache.maven:super-pom:jar:2.0 > > 2) work:work:jar:0.1.2-SNAPSHOT > > 3) clj-sys:plumbing:jar:0.1.2-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), > > releases (http://mvn.getwoven.com/repos/woven-public-releases), > > clojars (http://clojars.org/repo/), > > clojure-snapshots (http://build.clojure.org/snapshots), > > snapshots (http://mvn.getwoven.com/repos/woven-public-snapshots), > > central (http://repo1.maven.org/maven2) > > > at > > > org.apache.maven.artifact.ant.DependenciesTask.doExecute(DependenciesTask.j > > ava: > > 175) > > at > > > org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifact > > Task.java: > > 678) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > > 39) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > > l.java: > > 25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:90) > > at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java: > > 265) > > at leiningen.deps$deps.invoke(deps.clj:132) > > at leiningen.deps$deps.invoke(deps.clj:155) > > at leiningen.deps$deps.invoke(deps.clj:156) > > at clojure.lang.Var.invoke(Var.java:365) > > at clojure.lang.AFn.applyToHelper(AFn.java:163) > > at clojure.lang.Var.applyTo(Var.java:482) > > at clojure.core$apply.invoke(core.clj:542) > > at leiningen.core$apply_task.invoke(core.clj:219) > > at leiningen.core$_main.doInvoke(core.clj:285) > > at clojure.lang.RestFn.invoke(RestFn.java:411) > > at clojure.lang.AFn.applyToHelper(AFn.java:163) > > at clojure.lang.RestFn.applyTo(RestFn.java:133) > > at clojure.core$apply.invoke(core.clj:542) > > at leiningen.core$_main.invoke(core.clj:288) > > at > > ... > > read more » -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en