Goals available for this plugin:
| Goal | Description |
|---|---|
| sbt-compiler:compile | Compile Scala and Java sources |
| sbt-compiler:help | Display help information on sbt-compiler-maven-plugin. Call mvn sbt-compiler:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
| sbt-compiler:testCompile | Compile Scala and Java test sources |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.2.1 |
| JDK | 1.5 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>com.google.code.sbt-compiler-maven-plugin</groupId>
<artifactId>sbt-compiler-maven-plugin</artifactId>
<version>1.0.0-beta1</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>com.google.code.sbt-compiler-maven-plugin</groupId>
<artifactId>sbt-compiler-maven-plugin</artifactId>
<version>1.0.0-beta1</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"