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
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