Closed chadhq closed 12 years ago
Hello, fixed the issue, I added resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
to the Build.scala
Sorry if i missed that in the doco somewhere?
I am having the same issue. Unfortunately the resolver you listed is currently returning a 502 for me.
Looking at the other resolvers, the net.liftweb#lift-json_2.9.1;2.5-SNAPSHOT!lift-json_2.9.1.jar is missing: http://repo.typesafe.com/typesafe/releases/net/liftweb/lift-json_2.9.1/ http://repo1.maven.org/maven2/net/liftweb/lift-json_2.9.1/
Edit: a closer look shows that this is a salat dependency:
https://github.com/novus/salat/blob/master/project/SalatBuild.scala#L159
There was a problem with the typesafe repository around 10pm GMT 2012-09-04, it stayed down for a while. After it was brought back up snapshot dependencies wouldn't resolve. not really play-salat faults.
If anyone knows how to tell sbt not to bother checking for newer versions of snapshot it would alleviate the pain ... somthing like the --no-snapshot-updates of maven ?
Another possible solution would be to upgrade to the latest Salat (1.9.1). It reverted back to lift-json 2.4.
Btw, I can confirm that upgrading to Salat 1.9.1 would solve the problem. I've tried it locally (by modifying a local copy of play-salat).
I've releases a 1.1-SNAPSHOT version that is has the new 1.9.1 of salat. If you'd like to try it out, simply change from version 1.0.9 and make shure you have the snapshot repo in you resolvers
resolvers += "OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: net.liftweb#lift-json_2.9.1;2.5-SNAPSHOT: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [error] {file:/Users/username/Development/rep/}fly/*:update: sbt.ResolveException: unresolved dependency: net.liftweb#lift-json_2.9.1;2.5-SNAPSHOT: not found
I am receiving this unresolved dependency. Here is by Build.scala:
val appName = "fly" val appVersion = "1.0-SNAPSHOT"
}