How do I use nightly builds of Scala 2.9 with maven? -


recently wanted try of new features in scala 2.9 in small project. use maven building it. how can tell maven use latest nightly build of scala 2.9? if knows how sbt instead of maven, too.

you can try repository:

http://www.scala-tools.org/repo-snapshots

with scala version: 2.9.0-snapshot

here snippet 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 sbt:

val scalatoolssnapshots = "scala tools snapshots" @ "http://scala-tools.org/repo-snapshots/" 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -