Hello, I would like build two war files from maven. First will be contain clover instrumentation, second will be simple war file(without clover). I create clover profile in the my pom.xml, but i had one war file with clover. How i can do two different war files?
The best option is to run two builds, actually. For instance:
Instead of using a profile you could also run Clover goals directly, e.g.:
You could also use maven-invoker-plugin and define an invoker.properties file with 'invoker.goals' and 'invoker.goals.2'. Thanks to this you could call build twice internally. See maven-invoker-plugin documentation for more details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.