scala - SBT unable to find sedis dependency -
i have play 2.2.2 app built scala 2.10.3.
this build.scala file:
import sbt._ import keys._ import play.project._ object applicationbuild extends build { val appname = "my-app" val appversion = "1.0-snapshot" val appdependencies = seq( "com.typesafe" %% "play-plugins-redis" % "2.2.0" ) val main = play.project(appname, appversion, appdependencies).settings( resolvers += resolver.url("sbt-plugin-releases", new url("http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/"))(resolver.ivystylepatterns), resolvers += resolver.url("typesafe repository", new url("http://repo.typesafe.com/typesafe/releases/"))(resolver.ivystylepatterns), resolvers += resolver.url("pk11 repo", new url("http://pk11-scratch.googlecode.com/svn/trunk")) ) }
when run play idea
attempts dependencies falls on when gets redis plugin, error:
error] (*:update) sbt.resolveexception: unresolved dependency: org.sedis#sedis_2.10.0;1.1.1: not found [error] failed obtain dependency classpath
i can see sbt attempting locate dependency here:
[warn] ==== pk11 repo: tried [warn] http://pk11-scratch.googlecode.com/svn/trunk/org.sedis/sedis_2.10.0/1.1.1/ivys/ivy.xml
i have found actual jar file want @ url:
http://pk11-scratch.googlecode.com/svn/trunk/org/sedis/sedis_2.10.0/1.1.1/
why won't sbt go directory , download dependency? there way dependency maven dependency?
during digging found in play-plugin-redis library's build.scala:
https://github.com/typesafehub/play-plugins/blob/master/redis/project/build.scala
it's looking ivy style repository. change resolver line to:
resolvers += "pk11 repo" @ "http://pk11-scratch.googlecode.com/svn/trunk"
Comments
Post a Comment