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

Unknown macro: {spacejump}

or visit the current Clover documentation home page.

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>maven-clover2-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.

  • No labels