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
Please change your Friend dependency to [com.cemerick/friend 0.1.3].
Prior versions transitively depended upon a Guice artifact that was hosted on a
now-404 Maven repository via Google Code's svn. Friend = 0.1.3 depends only
on artifacts available in Clojars and Maven Central, and will remain
Thank you for the fast reply. That helped. But do you (or anyone else
here) know of a workaround for friend-oauth2? I get:
lein uberjar
Could not find artifact friend-oauth2:friend-oauth2:pom:0.0.2 in
central (http://repo1.maven.org/maven2)
Retrieving
Instead of this:
[friend-oauth2 0.0.2]
Use this:
[friend-oauth2 0.0.2 :exclusions [com.cemerick/friend]]
[com.cemerick/friend 0.1.3]
That will keep lein from attempting to resolve the now-gone Guice artifact
transitively referred to by the older revs of friend.
- Chas
On Jan 14,