You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Harper, Brad" <br...@Fiserv.com> on 2009/08/12 22:13:18 UTC
NSIS Maven Plugin
I've noticed [1], indicating that a plugin that supports use of NSIS
with Maven 2.
It appears from the example [2] that the associated maven project
packaging is 'pom' and implies that the installer payload be present
within the project itself.
I'm interested in building a substantially more complicated NSIS
installer. In fact, I have already one, but it's built without the aid
of a maven plugin, and I'm now considering how useful this new plugin
might be.
I have multiple war file artifacts that are distributed via the NSIS
installer. All are built via separate maven projects and deployed to an
internal remote repository.
It isn't clear how, with this plugin, the installer project would 'pull
these artifacts in' for inclusion in the installer payload.
Has anyone yet attempted to use this plugin in a non-trivial way?
Thanks.
Brad
[1] http://mojo.codehaus.org/nsis-maven-plugin/index.html
[2]
http://mojo.codehaus.org/nsis-maven-plugin/examples/sample-nsis-project.
html
Re: NSIS Maven Plugin
Posted by Ken Liu <ke...@gmail.com>.
I've been looking at the same plugin recently and I think you can use the
maven dependency plugin to copy the jars to an output directory that will be
picked up by nsis.
Your nsis maven project will have to declare your wars as dependencies.
This is basically how I do it now without the NSIS plugin; I am calling NSIS
through maven-antrun (pretty convoluted).
Ken
On Wed, Aug 12, 2009 at 4:13 PM, Harper, Brad <br...@fiserv.com>wrote:
>
>
> It isn't clear how, with this plugin, the installer project would 'pull
> these artifacts in' for inclusion in the installer payload.
>
>
>
> Has anyone yet attempted to use this plugin in a non-trivial way?
> Thanks.
>
>
>
> Brad
>
>
>
> [1] http://mojo.codehaus.org/nsis-maven-plugin/index.html
>
> [2]
> http://mojo.codehaus.org/nsis-maven-plugin/examples/sample-nsis-project.
> html<http://mojo.codehaus.org/nsis-maven-plugin/examples/sample-nsis-project.%0Ahtml>
>
>
>
>