This documentation is for Clover 3.2.x View the latest version of

Unknown macro: {spacejump}

or visit the current Clover documentation home page.

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

If I use 'clover2: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 clover2: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 'clover2:setup' goal, which does the same, but does not run a parallel build and does not add "-clover" suffix to generated artifacts.

 

  • No labels