Recently I wanted to try some of the new features in Scala 2.9 in a small project. I would like to use maven for building it. How can I tell Maven to use the latest nightly build of Scala 2.9? If someone knows how to do this with sbt instead of maven, that would be good too.
Asked
Active
Viewed 606 times
5
-
instructions for Scala 2.11/2.12 and sbt are here: http://stackoverflow.com/q/40622878/86485 – Seth Tisue Nov 17 '16 at 20:13
1 Answers
5
You can try this repository:
http://www.scala-tools.org/repo-snapshots
with Scala version: 2.9.0-SNAPSHOT
Here is snippet for pom.xml:
<repositories>
<repository>
<id>scala-tools.org</id>
<name>Scala-Tools Maven2 Repository</name>
<url>http://scala-tools.org/repo-snapshots</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>scala-tools.org</id>
<name>Scala-Tools Maven2 Repository</name>
<url>http://scala-tools.org/repo-snapshots</url>
</pluginRepository>
</pluginRepositories>
and for sbt:
val scalaToolsSnapshots = "Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/"

tenshi
- 26,268
- 8
- 76
- 90
-
The scala-tools.org site is no longer serving jars. It appears you can find Scala snapshots at https://oss.sonatype.org/content/repositories/snapshots/org/scala-lang/ – Blair Zajac Nov 17 '12 at 18:21