There is a plugin for maven to package Java Webstart application. It’s the webstart maven plugin.
To create the jnlp file, the documentation suggests to launch:
mvn webstart:jnlp
However, sometimes I got the following error message:
<jnlp> configuration element missing.
To workaround this, just launch the same command with the explicit plugin name:
mvn org.codehaus.mojo.webstart:webstart-maven-plugin:jnlp
This solves the error.
I guess, this is due to a mismatch between webstart plugin. I should reset my plugin repository and make a try.