by davidB

The scala-maven-plugin (previously maven-scala-plugin) is used for compiling/testing/running/documen...

456 Stars 123 Forks Last release: Not found The Unlicense 807 Commits 59 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Scala Maven Plugin

Build Status Code Quality: Java Total Alerts

The scala-maven-plugin (previously maven-scala-plugin) is used for compiling/testing/running/documenting Scala code in Maven.

Similar plugins


Currently, you need Maven 3.x & JDK 8 to build the plugin, create the site, and run



  • ./mvnw package
    : generate jar
  • ./mvnw site
    : generate the plugin website
  • ./mvnw integration-test
    ./mvnw package
    + run all integration test
    • note: to run
      : you have to set
      property in
      to correspond to your environment. See Build section above for a simple setup.
  • ./mvnw integration-test -Dinvoker.test=test1
    : run integration test 'test1' (against all configuration) useful for tuning/debug
  • ./mvnw install
    : ./mvnw integration-test` + publish on local maven repository
  • ./mvnw install -Dmaven.test.skip=true
    : ./mvnw install` without run of unit test and run of integration test
  • release :
    • gpg --use-agent --armor --detach-sign --output $(mktemp) pom.xml
      to avoid issue on macosx with gpg signature see [MGPG-59] GPG Plugin: "gpg: signing failed: Inappropriate ioctl for device" - ASF JIRA
    • ./mvnw release:clean && ./mvnw release:prepare && ./mvnw release:perform
      : to publish on staging repository via plugin
    • ./mvnw release:clean && ./mvnw release:prepare -Darguments="-DskipTests -Dmaven.test.skip=true" && ./mvnw release:perform -Darguments="-DskipTests -Dmaven.test.skip=true"
      to publish without tests (integration test require 30min on CI)
    • ./mvnw site package 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, ...)


  • close issues from
  • refactor :
    • reduce copy-paste
    • file path management can be improve (a lot)
    • clean the code

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.