You can used assembly:attached and bind it to a phase to get the
artifact deployed. I do this a lot and just use pom as the packaging
type. 

-----Original Message-----
From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 05, 2006 7:53 AM
To: Maven Users List
Subject: Re: What are the best practices to create application
installers?

Hi Dave,

I did such things for Maven 1 though

+) building an installer was an independent project using a POM to pull
in the artifacts used for the installer and production set of
configuration files

+) I used one executable JAR containing all dependencies as input for
the installer

+) I had some additional obfuscation step for the executable JAR

+) my installer was triggered through ANT using install4j to build 
installers for Windows, Linux and MacOS 10.x (without making 
advertisment it worked quite well)

+) In Maven2 land the build-helper-maven-plugin might help you the 
upload the results in to repo

Cheers

Siegfried Goeschl

Dave Hoffer wrote:
> I now need to go beyond creating jars/wars with maven2; I need to
create
> an installer for my application.  
> 
> What is the current state of this with maven?  Where are the links
that
> can show me options of how to do this?  I have found the assembly
> plugin, but it seems quite limited (and it doesn't seem to fit within
> the maven goals pattern).  For example it can bundle stuff locally but
> how do I publish this to a server?  What if I want a Windows or
> cross-platform installer that can install Java, etc?
> 
> Also, how can I incorporate this within the normal maven process of
> releasing an application?
> 
> Any information would be greatly appreciated.
> 
> -dh
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to