With the default templates, all the files from the directory denoted by the
- maven.dist.bin.assembly.dir property are installed,
+ maven.nsis.build.dir property are installed,
together with an uninstaller if the end-user so desires.
- If you call the dist goal before calling the nsis goal,
- it will set the property correctly and generate files into that directory.
+ If you call the dist goal before calling the nsis goal, e.g. (maven dist nsis),
+ it will set the property correctly.
@@ -82,15 +82,15 @@ maven.nsis.exe=C:/develop/build/NSIS/makensis.exe
Why am I getting org.apache.commons.jelly.JellyTagException: ...
- 'maven.dist.bin.assembly.dir' must be specified ...
+ 'maven.nsis.build.dir' must be specified ...
when I run the nsis goal?
- The nsis goal counts on the maven.dist.bin.assembly.dir property being set.
- Normally the dist goal does this. You could also pass it in when running the goal, e.g.
+ The nsis goal counts on the maven.nsis.build.dir property being set.
+ You could also pass it in when running the goal, e.g.
The plugin creates an installation program from your distribution,
- as created by maven dist. The dist goal must be
+ as created by maven dist. The dist goal is usually
run before using the plugin.
- Once you've run dist, run the nsis goal. This
- produces an executable in ${maven.build.dir}/${maven.final.name}.exe
+ 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
- The process of creating an installer from your ${maven.dist.bin.dir}
+ The process of creating an installer from your ${maven.nsis.build.dir}
using the plugin is as follows: