Created
February 22, 2012 14:23
-
-
Save kdabir/1885330 to your computer and use it in GitHub Desktop.
Configuring Cobertura, PMD & Findbugs in Maven
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<reporting> | |
<plugins> | |
<!-- checks the test coverage --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>cobertura-maven-plugin</artifactId> | |
<version>${cobertura.version}</version> | |
</plugin> | |
<!-- checks the code statically for any issues --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-pmd-plugin</artifactId> | |
<version>${pmd.version}</version> | |
<configuration> | |
<linkXref>true</linkXref> | |
<targetJdk>1.6</targetJdk> | |
</configuration> | |
</plugin> | |
<!-- checks the compiled bytecode for any issues --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>findbugs-maven-plugin</artifactId> | |
<version>${findbug.version}</version> | |
</plugin> | |
</plugins> | |
... | |
</reporting> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment