InstallAdd a snapshot repository. <pluginRepositories>
<pluginRepository>
<id>undercover-snaphost</id>
<url>http://undercover.googlecode.com/svn/maven/snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories> Or a release repository. <pluginRepositories>
<pluginRepository>
<id>undercover</id>
<url>http://undercover.googlecode.com/svn/maven/repository</url>
</pluginRepository>
</pluginRepositories> Add the plugin to reporting plugins. <reporting>
<plugins>
<plugin>
<groupId>undercover</groupId>
<artifactId>undercover-maven-plugin</artifactId>
<configuration>
<includes>
<include>undercover/**</include>
</includes>
<excludes>
<exclude>undercover/ISample</exclude>
</excludes>
<sourceEncoding>UTF-8</sourceEncoding>
<formats>
<format>html</format>
<format>emmaxml</format>
<format>coberturaxml</format>
</formats>
</configuration>
</plugin>
</plugins>
</reporting> You can run the goal directly: mvn undercover:undercover-maven-plugin:undercover GoalsinstrumentInstrument the classes to measure coverage. Configuration| Name | Description | Required | | includes | Include specified classes | No | | excludes | Exclude specified classes | No |
reportConfiguration| Name | Description | Required | | sourceEncoding | Source encoding. Default is UTF-8. | No | | formats | Report formats. Available formats are html, emmaxml and coberturaxml. Default is html. | No |
|