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

Unknown macro: {spacejump}

of Clover, or visit the latest Clover documentation.

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