Nelz's Blog

Mah blogginess

Cobertura Maven Plugin

Found It!!

From this thread, here is the key to getting the Cobertura plugin to work:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<property>
<name>net.sourceforge.cobertura.datafile</name>
<value>target/cobertura/cobertura.ser</value>
</property>
</systemProperties>
</configuration>
</plugin>

Enjoy!