Goals available for this plugin:
| Goal | Report? | Description |
|---|---|---|
| webstart:help | No | Display help information on webstart-maven-plugin. Call mvn webstart:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
| webstart:jnlp | No | Packages a jnlp application. The plugin tries to not re-sign/re-pack if the dependent jar hasn't changed. As a consequence, if one modifies the pom jnlp config or a keystore, one should clean before rebuilding. This mojo forks a build lifecycle and won't install the zip packages in your local repository. You probably want to use the jnlp-inline instead. For more informations about how to choose the matching mojo see http://mojo.codehaus.org/webstart/webstart-maven-plugin/usage.html#Choices |
| webstart:jnlp-download-servlet | No | MOJO is tailored for use within a Maven web application project that uses the JnlpDownloadServlet to serve up the JNLP application. |
| webstart:jnlp-inline | No | Packages a jnlp application without launching a parallel lifecycle build. The plugin tries to not re-sign/re-pack if the dependent jar hasn't changed. As a consequence, if one modifies the pom jnlp config or a keystore, one should clean before rebuilding. For more informations about how to choose the matching mojo see http://mojo.codehaus.org/webstart/webstart-maven-plugin/usage.html#Choices |
| webstart:jnlp-single | No | Packages a jnlp application without launching a parallel lifecycle build. Also, this mojo is not an aggregator, so it can be used multiple times in a single multimodule build. The plugin tries to not re-sign/re-pack if the dependent jar hasn't changed. As a consequence, if one modifies the pom jnlp config or a keystore, one should clean before rebuilding. |
| webstart:report | Yes | Creates a JNLP report. |
| webstart:unsign | No | Unsigns a JAR, removing signatures. This code will hopefully be moved into the jar plugin when stable enough. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0.11 |
| JDK | 1.7 |
| 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>org.codehaus.mojo</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<version>1.0-beta-8-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<version>1.0-beta-8-SNAPSHOT</version>
</plugin>
...
</plugins>
</build>
...
<!-- To use the report goals in your POM or parent POM -->
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<version>1.0-beta-8-SNAPSHOT</version>
</plugin>
...
</plugins>
</reporting>
...
</project>
For more information, see "Guide to Configuring Plug-ins"