I am trying to run play dependencies in my project and it does not find my dependencies. My situation is unique in that I work on an internal local network with absolutely free Internet access, so everything should be found either in my local repository or in local art. My build.scala looks like this:
val appDependencies = Seq( "rroc.e.jasfeed" % "ms-common" % "1.2-SNAPSHOT", "rroc.e.jasfeed" % "metrics-common" % "1.2-SNAPSHOT" ) val local = "localhost" at "file:///C:/DevTools/apache-maven-3.0.4/repository/" val art = "private-repo" at "http://10.10.20.230:8080/artifactory/repo/" val main = play.Project(appName, appVersion, appDependencies).settings( scalaVersion := "2.10.1", scalaHome := Some(file("C:/DevTools/Scala/scala-2.10.1")), autoScalaLibrary := false, offline := true, ivyLoggingLevel := UpdateLogging.Full, resolvers ++= Seq(local,art) )
The first problem I see is that although I say that it is offline := true , it constantly tries to connect to http://repo.typesafe.com/typesafe/ ", which fails sequentially because she is not available.
Another problem I see is that it is trying to get "rroc / e / jasfeed / ms-common_2.10 / 1.2-SNAPSHOT / maven-metadata.xml" and not "rroc / e / jasfeed / ms- common / 1.2-SNAPSHOT / maven-metadata.xml ". I thought autoScalaLibrary := false would make this stop, but apparently not.
Is there something I don't see / don't understand how Play / SBT works? I canβt get him to go into real mode offline, and I canβt get him to refuse to install "_2.10" at the end of my dependencies.
Thanks!
source share