Goals available for this plugin:
Goal | Report? | Description |
---|---|---|
scala:add-source | No | Add more source directories to the POM. |
scala:cc | No | 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:compile | No | Compiles a directory of Scala source. Corresponds roughly to the compile goal of the maven-compiler-plugin |
scala:console | No | Run the Scala console with all the classes of the projects (dependencies and builded) |
scala:doc | Yes | Produces Scala API documentation. |
scala:help | No | Display the Scala Compiler help |
scala:run | No | Run a Scala class using the Scala runtime |
scala:script | No | Run a scala script. |
scala:testCompile | No | Compile Scala test source into test-classes. Corresponds roughly to testCompile in maven-compiler-plugin |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0.9 |
JDK | 1.5 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You could run 'mvn -up' to get the latest version of this plugin, or specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>org.scala-tools</groupId> <artifactId>maven-scala-plugin</artifactId> <version>2.9.1</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.scala-tools</groupId> <artifactId>maven-scala-plugin</artifactId> <version>2.9.1</version> </plugin> ... </plugins> </build> ... <!-- To use the report goals in your POM or parent POM --> <reporting> <plugins> <plugin> <groupId>org.scala-tools</groupId> <artifactId>maven-scala-plugin</artifactId> <version>2.9.1</version> </plugin> ... </plugins> </reporting> ... </project>