"maven-japplication-plugin" is a plugin for assembling native launchers of Java applications for a number of target platforms. Current It will package current project artifact and all its declared and transitive dependencies will be bundled into the launcher. Currently supports native launchers for Mac and Windows operating systems and also a "java launcher" - a single jar file that can be run via "java -jar file.jar".
"maven-japplication-plugin" is based on a JApplication Ant task and has similar capabilities, however the Maven environment provides more information about the project, so plugin has no fewer required parameters.
Prerequisites and OS requirements are similar to those for JApplication Ant task. In particular for Windows you will need to install NSIS.
The plugin defines a single goal
"japplication"., i.e. Mac launcher can only be built on Mac, and Windows launcher - on Windows.
"japplication" is the only defined goal. Its purpose is to assemble a java launcher. It has the parameters described below. The difference from JApplication Ant task is in smarter defaults.
The name of the application without OS-specific extension
Main Java class
A family of operating systems. Currently supported values are "mac", "windows" and "java"
Build machine OS, if omitted; if the os is not supported, will use "java".
A destination directory where the application launcher should be installed
An optional string identifying the application human-readable name. If not specified, "name" is used.
Platform-specific icon file (usually "*.ico" on Windows and "*.icns" on Mac)
Minimal version of the Java Virtual machine required.
Optional parameters to pass to the JVM, such as memory settings, etc.
Product version string
A POM that builds a Foo application on Mac. All declared and transitive dependencies (not shown here) will be included in Foo.app automatically: