Awesome
usage from cli :
-
interactive Mode (select scala-archetype-simple and response to questions) :
mvn archetype:generate
-
non interactive / batch (change info in the last line) :
mvn archetype:generate -B \ -DarchetypeGroupId=net.alchim31.maven -DarchetypeArtifactId=scala-archetype-simple -DarchetypeVersion=1.7 \ -DgroupId=com.company -DartifactId=project -Dversion=0.1-SNAPSHOT -Dpackage=com.company
-
example compile/run (run 'mvn scala:help' for full command list) :
mvn scala:compile mvn scala:run -DmainClass=com.company.App
Changes:
1.7 (2018-06-09)
- upgrade version of scala 2.12.6, scalatest 3.0.5, specs2 4.2.0, junit 4.12
- upgrade build process (ci, plugins,...)
1.6 (2015-06-07)
- change license for Unlicense to CC0 (always Public Domain)
- upgrade version of scala, librairies, plugins
1.5 (2013-02-23)
- upgrade of scala 2.10.0
- upgrade version of Specs(2), ScalaTest, Surefire, scala-maven-plugin
1.4 (2012-12-10)
- move to sonatype for hosting
- change groupId to net.alchim31.maven
- upgrade version of scala to 2.9.2, version of JUnit, Specs(2) and ScalaTest
1.3
- upgrade to scala 2.8.0 (as default)
- upgrade version of Specs and ScalaTest
- provide sample of Specs and ScalaTest runnable from maven and eclipse (at least)
Have fun!