Have you looked at profiles?

http://maven.apache.org/guides/introduction/introduction-to- profiles.html

You activate a profile at build time, and each profile can use properties to localize the build.

You might also want to look at resource filtering, which allows you to use these properties to produce different config files (such as web.xml) depending on the profile chosen at build time. Filtering can also load values from a *.properties file.

http://maven.apache.org/guides/getting-started/index.html#How%20do%20I %20filter%20resource%20files?

[named anchor doesn't work]

Hope that helps.

J

On 18-Jan-06, at 12:48 PM, Osborne, Matthew wrote:

Hello
After much headbanging, I think I've figured out a solution to some
issues I've had in converting an Ant build process to Maven.  That
solution is customizing Maven builds using *.properties files. However,
the documentation I was able to find on this on the maven website was
lacking a lot of critical details. Can someone please point me to where I can find some good information on this, and preferably someplace where I can find some examples of customized maven projects and the associated
.properties files


Thanks

Matt Osborne

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


--
Julian Wood <[EMAIL PROTECTED]>

Programmer/Analyst
University of Calgary

http://commons.ucalgary.ca


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

Reply via email to