Skip to content

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

License

Notifications You must be signed in to change notification settings

xuning97/scala-maven-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Click here to lend your support to: scala-maven-plugin and make a donation at www.pledgie.com ! [![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=davidB&url=https://github.com/davidB/scala-maven-plugin&title=scala-maven-plugin&language=&tags=github&category=software) scala-maven-plugin ====================

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

Donate

Build

Currently, you need Maven 3.x to build the plugin, create the site, and run integration-test.

An existing installation of Scala is also tested against (in integration-test). Supposing the scala-library.jar of your existing scala library lives at /usr/local/Cellar/scala/2.10.2/libexec then you will need to set a symbolic link up as follows (on Unix):

ln -s /usr/local/Cellar/scala/2.10.2/libexec ~/bin/soft/scala

commands

  • 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. See Build section above for a simple setup.
  • 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 package source:jar javadoc:jar install:install gpg:sign deploy:deploy changes:announcement-generate -Dmaven.test.skip=true -DperformRelease=true : manual
    • connect to http://oss.sonatype.org/ 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/announcement.md.vm to [email protected], and to [email protected] (same subject but without tag part)

TODO

Bitdeli Badge

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 84.1%
  • Scala 8.9%
  • CSS 3.7%
  • Groovy 3.3%