[ANN] maven-scala-plugin 2.3.1

View: New views
1 Messages — Rating Filter:   Alert me  

[ANN] maven-scala-plugin 2.3.1

by David Bernard-3 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hi,

I'm happy to announce the release of maven-scala-version 2.3.1.

The main changes, it's the new 'cc' goals : the continuous compilation.
run "mvn scala:cc" in a terminal (with -U option the first time) and edit your source file, save ... the terminal detect the change and recompile it.
(more details at http://scala-tools.org/mvnsites/maven-scala-plugin/usage_cc.html)

actual goals of the plugin :

scala:help Display the Scala Compiler help
scala:compile Compiles a directory of Scala source. Corresponds roughly to the compile goal of the maven-compiler-plugin
scala:testCompile Compile Scala test source into test-classes. Corresponds roughly to testCompile in maven-compiler-plugin
scala:cc Compile the main and test scala source directory in continuous (infinite loop). !! This is an util goal for commandline usage only (Do not use or call it in a pom) !!!
scala:console Run the Scala console with all the classes of the projects (dependencies and builded)
scala:run Run a Scala class using the Scala runtime
scala:doc Produces Scala API documentation.

Feedback, suggestions are welcome. (Please use scala-tools mailing)

/davidB