How to remove -clover suffix from artifact name?

Q: How to remove -clover suffix from artifact name?

If I use 'clover:instrument' it creates two artifacts: my-artifact.jar (normal code) and my-artifact-clover.jar (instrumented). How to get rid of the suffix?

A: The clover:instrument' goals performs instrumentation in a parallel lifecycle. Thanks to this you can be sure that "normal" classes will not be mixed with the instrumented versions in final JAR file.

You can use a 'clover:setup' goal, which does the same, but does not run a parallel build and does not add "-clover" suffix to generated artifacts.

 

Last modified on Dec 8, 2015

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.