nsis:generate-project

Full name:

org.codehaus.mojo:nsis-maven-plugin:1.0-SNAPSHOT:generate-project

Description:

Generate a project.nsh containing NSIS variables that represent the common POM values.

The resulting target/project.nsh (configurable) can then be loaded into the main setup.nsi script via the include command.

!include target\project.nsh

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: generate-sources.

Required Parameters

Name Type Since Description
setupScript File - The name of the project script. Default value is: ${project.build.directory}/project.nsh.

Parameter Details

setupScript:

The name of the project script.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${nsis.project.script}
  • Default: ${project.build.directory}/project.nsh