Skip to content
The scala-maven-plugin (previously maven-scala-plugin) is used for compiling/testing/running/documenting scala code in maven.
Java Groovy Scala
Pull request Compare This branch is 46 commits behind davidB:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Click here to lend your support to: scala-maven-plugin and make a donation at ! Flattr this git repo


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 jar
  • mvn site : generate the plugin website
  • mvn integration-test : mvn package + run all integration test
    • note: to run test_scalaHome: you have to set scala.home property in src/it/test_scalaHome/pom.xml to correspond to your environment
  • mvn invoker:run -Dinvoker.test=test1 : run integration test 'test1' useful for tuning/debug
  • mvn install : mvn integration-test + publish on local maven repository
  • mvn install -Dmaven.test.skip=true : mvn install without run of unit test and run of integration test
  • release :
    • mvn release:prepare && mvn release:perform : to publish on staging repository via plugin
    • mvn site source:jar javadoc:jar install:install gpg:sign deploy:deploy changes:announcement-generate -Dmaven.test.skip=true -DperformRelease=true : manual
    • connect to close and release the request(about scala-maven-plugin) in staging repositories
    • browse the updated mvnsite (check version into samples, ...)
    • email the content of target/checkout/target/announcement/ to, and to (same subject but without tag part)


Something went wrong with that request. Please try again.