Last Published: 2009-03-27  | Version: 0.2.0-SNAPSHOT | Insight > Release Engineering

nsis:generate-script

Full name:

com.mindtree.techworks.insight.releng:maven-nsis-plugin:0.2.0-SNAPSHOT:generate-script

Description:

Generates the required resources

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Executes as an aggregator plugin.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
projectFile File - The NSIS project file

Optional Parameters

Name Type Since Description
nsisExec String - The NSIS executable. On windows systems this is usually makensis.exe, and the parameter defaults to that value. This parameter allows the mojo to be run on *nix systems where the compiled NSIS filename may not have the .exe extension; the user can override the executable name. Even on a windows if someone has renamed the makensis file, this parameter can be used to pass that value.
Default value is: makensis.
nsisPath File - Specifies the location where the makensis.exe executable is present
workDirectory File - The temporary build directory
Default value is: ${project.build.directory}/nsis-work.

Parameter Details

nsisExec:

The NSIS executable. On windows systems this is usually makensis.exe, and the parameter defaults to that value. This parameter allows the mojo to be run on *nix systems where the compiled NSIS filename may not have the .exe extension; the user can override the executable name. Even on a windows if someone has renamed the makensis file, this parameter can be used to pass that value.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nsisExec}
  • Default: makensis

nsisPath:

Specifies the location where the makensis.exe executable is present
  • Type: java.io.File
  • Required: No
  • Expression: ${nsisPath}

projectFile:

The NSIS project file
  • Type: java.io.File
  • Required: Yes

workDirectory:

The temporary build directory
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/nsis-work