Is there a way to make maven build 1.5 and 1.6 bytecode jars simultaneously. I know I can use classifiers to name them, but this forces to me to build them separately. I would ultimately like to do the following:
mvn clean install
And in my target directory see something like:
fooSource.jar
foo-1.6.jar
foo-1.5.jar
No, you’ll have to run two clean builds. I’d use profiles and a CI engine supporting build matrix for this (Hudson does).