On Thursday February 18 2010, Jim Collings wrote:
> OK, so I've a project that uses two different containers. Sun
> Webserver 7 and Weblogic. I'm trying to set up an automated
> deployment that is easily configurable for the individual
> developers, cause they all have their stuff in different places. 
> What I want is a properties file that the dev can stash in his
> home directory which will be read by Maven to establish
> installation parameters and JVM options for each container. Later
> on, I'll put an example file in subversion.  So.... one thing at a
> time.  First off, I need to know how I can snatch the properties
> out of a properties file.
> 
> What are some good ways to do this? Since the artefacts that are
> deployed are in sub-modules, this seems like a good place to grab
> those properties.

Just define the properties in the pom file instead. Potentially in 
different profiles. The users can then override the properties by 
setting them in the settings.xml.

manfred

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

Reply via email to