I\'ve just upgraded to sbt 0.11.1
that doesn\'t seem to be fetching a
certain dependency. Things worked fine before the upgrade.
I have this dependency:
After blowing away not just ~/.ivy2 but ~/.m2 and ~/.sbt as well, everything worked again.
I have had occasions where Ivy has got confused. I can't tell you why, unfortunately, but I have found that things work fine after deleting the entire ~/.ivy2 directory hierarchy. Clearly you'll have to download all your dependencies again, though :-(
Sometimes ivy cache entries get corrupted - simply remove ~/.ivy2/cache/org.scalatra/scalatra_2.9.1/jars/
, and let SBT re-fetch the dependency from the remote repo. If it doesn't work, try to remove an entire cache directory (~/.ivy2/cache
).