我的项目给出以下警告:
[warn] Potentially incompatible versions of dependencies of {file:/some/path/}default-5bae4a:
[warn] org.scala-lang: 2.9.2, 2.9.1
我有以下依赖项:
libraryDependencies ++= Seq(
"io.spray" % "spray-can" % "1.0-M3",
"io.spray" % "spray-routing" % "1.0-M3",
"io.spray" % "spray-testkit" % "1.0-M3",
"io.spray" %% "spray-json" % "1.2.3" cross CrossVersion.full,
"com.typesafe.akka" % "akka-actor" % "2.0.3",
"org.mongodb" %% "casbah" % "2.4.1",
"com.novus" %% "salat" % "1.9.1",
"org.specs2" %% "specs2" % "1.12.2" % "test",
"org.mockito" % "mockito-all" % "1.9.0" % "test"
)
我试图弄清楚我们如何摆脱 org.scala-lang 2.9.1 依赖,但这并不像我想象的那么容易。我错过了什么技巧?