I am building a web app. I just included Compojure and Friend as dependencies, and one of these, in turn, relies on Google Guice. I type:
lein uberjar and I get a whole lot of output which includes: Could not find artifact com.google.code.guice:guice:pom:2.0 in central (http://repo1.maven.org/maven2) Could not find artifact com.google.code.guice:guice:pom:2.0 in clojars (https://clojars.org/repo/) Could not transfer artifact com.google.code.guice:guice:pom:2.0 from/ to guice (http://guice-maven.googlecode.com/svn/trunk): Not authorized, ReasonPhrase:Authorization Required. Could not find artifact com.google.code.guice:guice:pom:2.0 in alchim.snapshots (http://alchim.sf.net/download/snapshots) Check :dependencies and :repositories for typos. It's possible the specified jar is not in any repository. If so, see "Free-floating Jars" under http://j.mp/repeatability Uberjar aborting because jar/compilation failed: Could not resolve dependencies I find instructions for installing guice here: http://code.google.com/p/roboguice/issues/detail?id=38 I download guice from here: http://code.google.com/p/google-guice/downloads/list On my Mac, at the command line, I then run: mvn install:install-file -DgroupId=com.google.android.maps - DartifactId=maps -Dversion=3_r3 -Dpackaging=jar -Dfile=/Users/lkrubner/ Downloads/guice-2.0/guice-2.0.jar and I get: [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom --- [INFO] Installing /Users/lkrubner/Downloads/guice-2.0/guice-2.0.jar to /Users/lkrubner/.m2/repository/com/google/android/maps/maps/3_r3/ maps-3_r3.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.718s [INFO] Finished at: Mon Jan 14 10:18:44 EST 2013 [INFO] Final Memory: 4M/92M [INFO] ------------------------------------------------------------------------ I then again run: lein uberjar and again I get: lein uberjar Could not find artifact com.google.code.guice:guice:pom:2.0 in central (http://repo1.maven.org/maven2) Could not find artifact com.google.code.guice:guice:pom:2.0 in clojars (https://clojars.org/repo/) Could not transfer artifact com.google.code.guice:guice:pom:2.0 from/ to guice (http://guice-maven.googlecode.com/svn/trunk): Not authorized, ReasonPhrase:Authorization Required. Could not find artifact com.google.code.guice:guice:pom:2.0 in alchim.snapshots (http://alchim.sf.net/download/snapshots) Check :dependencies and :repositories for typos. It's possible the specified jar is not in any repository. If so, see "Free-floating Jars" under http://j.mp/repeatability Uberjar aborting because jar/compilation failed: Could not resolve dependencies What am I doing wrong? -- 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