Re: Building production web archive

2011-11-15 Thread Wayne Fay
 What is the best way to build production web archive in maven project ?
 Should I use a profile in pom.xml
 or externalize the process with ant's build.xml file to manage multiple 
 production (hostname, config) version, with
 the results of maven build/package ?

Externalize your configuration and build one single master WAR that is
deployed to all environments without changes.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Building production web archive

2011-11-15 Thread Eddy PELAIC

Hello Wayne,

Thanks for the reply.

Le 15 nov. 2011 à 20:36, Wayne Fay wayne...@gmail.com a écrit :

 What is the best way to build production web archive in maven project ?
 Should I use a profile in pom.xml
 or externalize the process with ant's build.xml file to manage multiple 
 production (hostname, config) version, with
 the results of maven build/package ?
 
 Externalize your configuration and build one single master WAR that is
 deployed to all environments without changes.
Is there a recommanded way to manage the lifecycle of this external config 
process
Associated To Maven project version (create a parent/module project)?

Edo

 
 Wayne
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Building production web archive

2011-11-15 Thread Wayne Fay
 Is there a recommanded way to manage the lifecycle of this external
config process
 Associated To Maven project version (create a parent/module project)?

I have no specific recommendations to make here other than to say that it
should be versioned and released just like any other artifact.
Parent/module is fine and probably typical.

Wayne