<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo.webstart</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>jnlp</goal> <!-- use jnlp, jnlp-inline or jnlp-single as appropriate -->
</goals>
</execution>
</executions>
<configuration>
<!--outputDirectory></outputDirectory--> <!-- not required?? -->
<!--
Set to true to exclude all transitive dependencies. Default is false.
-->
<excludeTransitive>false</excludeTransitive>
<!-- The path where the libraries are stored within the jnlp structure. not required. by default the libraries are within the working directory -->
<!-- <libPath>lib</libPath> //-->
<!-- [optional] transitive dependencies filter - if omitted, all transitive dependencies are included -->
<!-- <dependencies>
//--> <!-- Note that only groupId and artifactId must be specified here. because of a limitation of the Include/ExcludesArtifactFilter -->
<!-- <includes>
<include>commons-logging:commons-logging</include>
<include>commons-cli:commons-cli</include>
</includes>
//--> <!-- excludes>
<exclude></exclude>
<excludes-->
<!-- </dependencies>
//-->
<!--resourcesDirectory>${project.basedir}/src/main/jnlp/resources</resourcesDirectory--> <!-- default value -->
<!-- JNLP generation -->
<jnlp>
<!-- default values -->
<!--inputTemplateResourcePath>${project.basedir}</inputTemplateResourcePath-->
<!--inputTemplate>src/main/jnlp/template.vm</inputTemplate--> <!-- relative to inputTemplateResourcePath -->
<outputFile>launch.jnlp</outputFile> <!-- defaults to launch.jnlp -->
<!-- used to automatically identify the jar containing the main class. -->
<!-- this is perhaps going to change -->
<mainClass>org.apache.commons.cli.BasicParser</mainClass>
</jnlp>
<!-- SIGNING -->
<!-- defining this will automatically sign the jar and its dependencies, if necessary -->
<sign>
<keystore>MyKeyStore</keystore>
<keypass>MyKeyPass</keypass> <!-- we need to override passwords easily from the command line. ${keypass} -->
<storepass>Thatisthepass</storepass> <!-- ${storepass} -->
<!--storetype>fillme</storetype-->
<alias>MyAlias</alias>
<!--validity>fillme</validity-->
<!-- only required for generating the keystore -->
<dnameCn>www.hs-regensburg.de</dnameCn>
<dnameOu>None</dnameOu>
<dnameO>Hochschule Regensburg</dnameO>
<dnameL>Regensburg</dnameL>
<dnameSt>Galgenbergstraße</dnameSt>
<dnameC>DE</dnameC>
<verify>true</verify> <!-- verify that the signing operation succeeded -->
<!-- KEYSTORE MANAGEMENT -->
<keystoreConfig>
<delete>true</delete> <!-- delete the keystore -->
<gen>true</gen> <!-- optional shortcut to generate the store. -->
</keystoreConfig>
</sign>
<!-- BUILDING PROCESS -->
<pack200>false</pack200>
<!-- <gzip>true</gzip> --><!-- default force when pack200 false, true when pack200 selected ?? -->
<!-- causes a version attribute to be output in each jar resource element, optional, default is false -->
<outputJarVersions>false</outputJarVersions>
<!--install>false</install--> <!-- not yet supported -->
<verbose>true</verbose>
</configuration>
</plugin>
</plugins>
</build>