This is the documentation for Clover 3.3. View this page for the

Unknown macro: {spacejump}

of Clover, or visit the latest Clover documentation.

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