I am cross building a scala project with sbt 12.1.
crossScalaVersions := Seq("2.9.2", "2.10.0")
However, it can't find the dependencies because they are named _2.10
not _2.10.0
. It seems like it's regular to name your library 2.10
instead of 2.10.0
with the exception of scala-language
and scala-compiler
. For example, scalaz is not found at http://repo1.maven.org/maven2/org/scalaz/scalaz-core_2.10.0/6.0.4/scalaz-core_2.10.0-6.0.4.pom but at http://repo1.maven.org/maven2/org/scalaz/scalaz-core_2.10/6.0.4/scalaz-core_2.10-6.0.4.pom.
Is there an easy way to handle this without writing custom rules for all of my dependencies?
The actual build.sbt is available online.
2.10
and some2.10.0
, and find that rather unfortunate. I might just not have noticed it back then, but I don't remember running into a similar problem with Scala 2.8 and 2.9. – Malte Schwerhoff