diff options
author | Gary D. Gregory <ggregory@apache.org> | 2014-06-06 03:03:30 +0000 |
---|---|---|
committer | Gary D. Gregory <ggregory@apache.org> | 2014-06-06 03:03:30 +0000 |
commit | d1fdb9a02cd23b8ff7df8e4436915fc4bf057092 (patch) | |
tree | 9519be225207ca968e322ed37fbd9d5bf75b76ff /pom.xml | |
parent | 6715e7e6caf3ed4078ffc11e91933e74b43c582c (diff) | |
download | apache-commons-bcel-d1fdb9a02cd23b8ff7df8e4436915fc4bf057092.tar.gz |
Add more reports: FindBugs, PMD, Checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/bcel/trunk@1600809 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 52 |
1 files changed, 51 insertions, 1 deletions
@@ -25,7 +25,7 @@ <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-parent</artifactId> - <version>33</version> + <version>34</version> </parent> <groupId>org.apache.bcel</groupId> @@ -251,6 +251,56 @@ </plugin> --> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <!-- Use 2.9.1 instead of 2.10; 2.10 seems to scan the 'target' + dir and wants license headers in .properties to be the header for + Java files. --> + <version>2.9.1</version> + <configuration> + <configLocation>${basedir}/checkstyle.xml</configLocation> + <enableRulesSummary>false</enableRulesSummary> + <headerFile>${basedir}/LICENSE-header.txt</headerFile> + </configuration> + <!-- We need to specify reportSets because 2.9.1 creates two reports --> + <reportSets> + <reportSet> + <reports> + <report>checkstyle</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <version>3.1</version> + <configuration> + <targetJdk>${maven.compiler.target}</targetJdk> + <linkXref>true</linkXref> + <rulesets> + <ruleset>${basedir}/pmd.xml</ruleset> + </rulesets> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.5.4</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>taglist-maven-plugin</artifactId> + <version>2.4</version> + <configuration> + <tags> + <tag>TODO</tag> + <tag>NOPMD</tag> + <tag>NOTE</tag> + </tags> + </configuration> + </plugin> + <plugin> <!-- generate a code coverage report --> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> |