Clover-for-Maven 2 and 3 Upgrade Guide

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

General instructions

1. Update version number of clover-maven-plugin in your pom.xml

<plugin>
    <groupId>com.atlassian.maven.plugins</groupId>
    <artifactId>clover-maven-plugin</artifactId>
    <version><!-- PUT CLOVER VERSION --></version> <!-- >= 4.1.1 ; for older versions plugin was called maven-clover2-plugin -->
</plugin> 

2. Update version number of clover dependency in your pom.xml (optional)

Your pom.xml may contain a dependency to Clover Core (com.atlassian.clover:clover). Update it's version number the same version as the clover-maven-plugin:

<dependency>
    <groupId>com.atlassian.clover</groupId>
    <artifactId>clover</artifactId>
    <version><!-- PUT CLOVER VERSION --></version>
</dependency> 


3. Update license key (optional)

Installing new license is necessary if you're installing a Clover version released after end of support date of your current license.

4. Delete existing coverage databases (optional)

Clover's database format may change in newer versions. In such case you may get a build error with a message informing about database incompatibility. In such case you have to delete old database files. 

(lightbulb) By default, databases are stored in module's /target directory; thanks to this incompatible databases are removed automatically upon 'mvn clean'.

Upgrading from specific releases

Please see the Clover Release Notes and the Clover-for-Maven 2 and 3 Changelog for version-specific upgrade instructions.

最終更新日: 2016 年 9 月 12 日

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

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