Goals available for this plugin:
Goal | Description |
---|---|
play2:closure-compile | Compile JavaScript assets |
play2:coffee-compile | Compile Coffee Script assets |
play2:dist | Package Play! framework and Play! application as one zip achive (standalone distribution). |
play2:dist-exploded | Create exploded Play! framework and Play! application (standalone distribution). |
play2:ebean-enhance | Ebean enhance |
play2:enhance | Java classes enhance |
play2:help | Display help information on play2-maven-plugin. Call mvn play2:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
play2:less-compile | Compile Less assets |
play2:routes-compile | Compile routes |
play2:run | Run Play! server ("play run" equivalent). |
play2:start | Start Play! server ("play start" equivalent). |
play2:stop | Stop Play! server ("play stop" equivalent). |
play2:template-compile | Compile Scala templates |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.2.1 |
JDK | 1.6 |
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.play2-maven-plugin</groupId> <artifactId>play2-maven-plugin</artifactId> <version>1.0.0-beta4</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>com.google.code.play2-maven-plugin</groupId> <artifactId>play2-maven-plugin</artifactId> <version>1.0.0-beta4</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"