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.
Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs