Goals available for this plugin:
Goal | Description |
---|---|
play2:clean | Clean the project. |
play2:compile | Compile the Play application |
play2:copy-dependencies | Copy project dependencies to the lib folder. |
play2:debug | Launch the Play application in debug mode (play debug run) |
play2:help | Display help information on play2-maven-plugin. Call mvn play2:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. |
play2:install-play | Download and install a Play! distribution. |
play2:package | Package the Play application. The application is packaged as a Jar file. It is also possible to create the distribution package (zip). |
play2:package-war | Packages the Play application as War. |
play2:run | Launch the Play application |
play2:test | Run the test of the Play application. The tests are run using play test |
The following specifies the minimum requirements to run this Maven plugin:
Maven | [3.0.3,) |
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>de.akquinet.innovation.play2</groupId> <artifactId>play2-maven-plugin</artifactId> <version>1.2.2-SNAPSHOT</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>de.akquinet.innovation.play2</groupId> <artifactId>play2-maven-plugin</artifactId> <version>1.2.2-SNAPSHOT</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"