On Tue, May 20, 2008 at 7:02 PM, Baz <[EMAIL PROTECTED]> wrote: > I am trying to define a variable that i can use on command line to rename > all artifacts (build type) during the build. Something like "mvn clean > install -DbuildType="-Debug"". > I made the change and it works if I build from the parent directory level. > However, it does not the sub directory level. ... > Is there any Maven statement that help me to achieve what I want to do?
It's definitely a good idea to change the artifact filename if the contents change (regular vs. debug). You could use a profile, and in it, configure the jar or war plugin to append a classifier to the artifact. I assume there is other configuration you need to activate in order to turn the jar into the debug flavor? -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
