Issue Type: New Feature New Feature
Assignee: Unassigned
Attachments: nsis-maven-plugin-nsisdir.diff
Components: nsis
Created: 21/May/13 6:46 PM
Description:

On this project, the source tree includes an NSIS directory which we use to build a Windows executable and installer. The directory includes a couple of NSIS plugins that aren't installed by default.

It's possible to use nsis-maven-plugin to generate these executables on Linux (and probably Mac OS X), but it currently requires a global environment variable to be set e.g.:

export NSISDIR=/path/to/pms/src/main/external-resources/third-party/nsis
mvn package -P windows

It would be nice if this could be specified via an optional nsis-maven-plugin parameter e.g.:

<configuration>
    <nsisDir>${project.external-resources}/third-party/nsis</nsisDir>
    <outputFile>${project.build.directory}/PMS.exe</outputFile>
    <setupScript>${project.external-resources}/nsis/pms.nsi</setupScript>
</configuration>

I've attached a patch against HEAD (r18296), which I've tested and verified on Linux (Ubuntu 12.04).

Environment: OS: Linux: Ubuntu 12.04
Java: 1.7.0_21
Maven: 2.2.1
MakeNSIS: v2.46-7
Project: Mojo
Priority: Major Major
Reporter: chocolateboy
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to