The scala-maven-plugin (previously maven-scala-plugin) is used for compiling/testing/running/documenting Scala code in Maven.
Currently, you need Maven 3.x to build the plugin, create the site, and run integration-test.
mvn package: generate jarmvn site: generate the plugin websitemvn integration-test:mvn package+ run all integration testmvn invoker:run -Dinvoker.test=test1: run integration test 'test1' useful for tuning/debugmvn install:mvn integration-test+ publish on local maven repositorymvn install -Dmave.test.skip=true:mvn installwithout run of unit test or run of integration test- release :
mvn release:prepare && mvn release:perform: to publish on staging repository via pluginmvn site source:jar javadoc:jar install:install gpg:sign deploy:deploy changes:announcement-generate-Dmaven.test.skip=true -DperformRelease=true: manual
- close issues from https://github.com/davidB/maven-scala-plugin/issues/
- try to integrate the "dependency builder" of SBT 0.10
- try to use aether to manage dependencies
- refactor :
- reduce copy-paste
- file path management can be improve (a lot)
- clean the code