Re: Creating jars with and without debug information

2007-06-30 Thread Eric Redmond
One idea: Create a profile that configures the compiler plugin with debugfalse/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

Creating jars with and without debug information

2007-06-28 Thread Rahamim, Zvi (Zvi)
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