How to keep Clover reports between builds?

If you want to keep Clover reports between builds, outside of source directory you can use <outputDirectory/> element in Clover configuration.

In your configuration put something like this:

<build>
 <plugins>
  <plugin>
   <artifactId>clover-maven-plugin</artifactId>
   <groupId>com.atlassian.maven.plugins</groupId>
   <configuration>
    <!-- Other configuration options -->

    <!-- Set output directory outside maven build -->
    <outputDirectory>c:\dev\cloverReport\${pom.artifactId}</outputDirectory>
   </configuration>
   <!-- Other elements -->
  </plugin>
 </plugins>
</build>

Use ${pom.artifactId} if you have multi module directory - reports for each module will be placed in a separate directory.

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

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

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