Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Maven NSIS Plug-in

Overview of the Maven NSIS Plugin Reference Documentation

This plugin is used to generate Win32 installer programs using NSIS.

DocumentDescription
How it works This describes the process of using this plugin to create an installation program.
Properties The behavior of this plugin can be altered via several properties. This document describes each property available, and the default used.
Goals This plugin provides goals to help in building the installer. This document describes each goal available.
Customizing the installer This describes the ways you can customize the generated installer, e.g. creating shortcuts, add environment variables etc.
ScreenShots Some setup produced by this plugin.

Using the NSIS Plugin

The plugin creates an installation program from your distribution, as created by maven dist. The dist goal is usually run before using the plugin.

Once you've run dist, or created your directory with the installation contents, run the nsis goal. This produces an executable in ${maven.build.dir}/${maven.nsis.final.name}.exe