I've got problem with a multi-project build where Build.scala looks like
so:
import sbt._
import Keys._
object EQUALSBuild extends Build {
lazy val EQUALS = Project(id = "EQUALS",
base = file(".")) dependsOn EncryptedLogger
lazy val ShutdownDBServer = Project(id = "ShutdownDBServer",
base = file("ShutdownDBServer"))
lazy val PostInstallDBUpdater = Project(id = "PostInstallDBUpdater",
base = file("PostInstallDBUpdater")) dependsOn EncryptedLogger
lazy val EncryptedLogger = Project(id = "EncryptedLogger", base = file("EncryptedLogger"))
}
In build.sbt, I've got this:
scalaVersion in ThisBuild := "2.9.2"
Now, PostInstallDBUpdater builds fine. However, EQUALS gives me this:
[warn] module not found: encryptedlogger#encryptedlogger_2.9.2;0.1-SNAPSHOT
...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: encryptedlogger#encryptedlogger_2.9.2;0.1-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: encryptedlogger#encryptedlogger_2.9.2;0.1-SNAPSHOT: not found
I have no idea why it's trying to manage this dependency through Ivy,
or how to fix the problem. It looks similar to this:
http://comments.gmane.org/gmane.comp.lang.scala.simple-build-tool/3125
But I figured I'd taken care of this with the setting of scalaVersion.
Help would be much appreciated!
--
Regards,
Mike