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.

 

最終更新日: 2015 年 12 月 8 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.