Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Description

Required

Default

Platforms

name

The name of the application without OS-specific extension

No

${project.artifact.artifactId}

 

mainClass

Main Java class

Yes

 

 

os

A family of operating systems. Currently supported values are "mac", "windows" and "java"

No

Build machine OS, if omitted; if the os is not supported, will use "java".

 

destDir

A destination directory where the application launcher should be installed

No

${project.build.directory} (- usually "target/")

 

longName

An optional string identifying the application human-readable name. If not specified, "name" is used.

No

${project.artifact.artifactId}-${project.artifact.version}

 

icon

Platform-specific icon file (usually "*.ico" on Windows and "*.icns" on Mac)

No

no 

mac,windows

jvm

Minimal version of the Java Virtual machine required.

no (default is "No

1.4+")

mac

jvmOptions

Optional parameters to pass to the JVM, such as memory settings, etc.

noNo

 

mac,windows

nsisHome

Location of NSIS installation. Ignored except on Windows.

No

no (default is "C:\Program Files\NSIS")

windows

version

Product version string

no (default 0.0)No

${project.artifact.version}

mac

Examples

A POM that builds a Foo application on Mac. All declared and transitive dependencies (not shown here) will be included in Foo.app automatically:

...