Lifty | unresolved dependency: org.lifty#lifty;1.7.4: not found
I'm trying to add in plugins/build.sbt:
resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns) addSbtPlugin("org.lifty" % "lifty" % "1.7.4")
and then I get:
Exception: unresolved dependency: org.lifty#lifty;1.7.4: not found
Any ideas how to fix it ?
I'm doing as it says on http://lifty.github.com/Installing+The+Plugin.html
Lifty has not (yet) released an sbt-0.11.3 binary. (You can see this by visiting http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases).
Fortunately, sbt-0.11.2 plugins are binary compatible with sbt-0.11.3. Unfortunately, the syntax for using an 0.11.2 plugin from 0.11.3 is a bit wonky:
libraryDependencies += Defaults.sbtPluginExtra( "org.lifty" % "lifty" % "1.7.4", "0.11.2", "2.9.1" )
While another alternative would be to use sbt-0.11.2, the scala-tools.org shutdown has made that just slightly problematic. You'd have to use the 0.11.3-2 launcher, specify sbt.version=0.11.2 in project/build.properties, and add the Sonatype repo as a resolver.