Good day,

Create a maven project for your configurations. Then use
remote-resources:bundle on it.

And on the maven projects that need those configurations file, use
remote-resources:process ( with reference to your configuration maven
project ) to retrieve those resources.

See [1] for more info on maven-remote-resources-plugin.

Cheers,
Franz

[1] http://maven.apache.org/plugins/maven-remote-resources-plugin


EJ Ciramella-2 wrote:
> 
> So how does one package up configuration per stack?  By stack I mean dev
> integration env versus qa versus staging versus production (all of which
> have various configuration changes).
>  
> What we've been doing is managing per stack configuration via
> profiles.xml.  One of the drawbacks of this method is having to build a
> particular configuration at build time rather than deploy time (we're
> using ANT to deploy our various builds).
>  
> I'm writing this now as one of our modules out puts a war.  In our
> property activated profile based assembly for this particular module, we
> only want to bundle up the configuration files and don't need the war.
> How can I exclude it (I only want the property files the
> process-resources step generates)?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Packing-up-configurations-for-various-servers-tf3550025s177.html#a9932507
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to