One idea: Create a profile that configures the compiler plugin with <debug>false</debug>.
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html Then in the profile, configure the jar plugin to have a classifier - something like "non-debug". Then, when you want to install w/ debug just run install, without it: install with the flag -PprofileName Eric On 6/28/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote:
Hi, By default maven creates a jar with debug information. I would like that for each project that I build, it will create two jars - one with debug information and one without. I don't want to configure all my pom.xml files. I assume one option is to have a parent pom.xml (correct me if I'm wrong) Is there another way - maybe create a new packaging? Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Eric Redmond http://www.sonatype.com