Goals available for this plugin:
Goal | Description |
---|---|
piranha:help | Display help information on piranha-maven-plugin. Call mvn piranha:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. |
piranha:run | This goal will deploy your web application, start Piranha and wait for it. It echoes the Piranha console back to you for your convenience. |
piranha:start | This goal will deploy your web application and start Piranha in a separate process. |
piranha:stop | This goal will stop the Piranha runtime that was started with the start goal. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 17 |
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>cloud.piranha.maven.plugins</groupId> <artifactId>piranha-maven-plugin</artifactId> <version>23.2.0</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>cloud.piranha.maven.plugins</groupId> <artifactId>piranha-maven-plugin</artifactId> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"