Created
January 9, 2015 17:41
-
-
Save martinusadyh/f315b6a39ef8b98d31e5 to your computer and use it in GitHub Desktop.
Maven PMD Plugin
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-pmd-plugin</artifactId> | |
<version>2.4</version> | |
<configuration> | |
<!-- your example configuration here --> | |
<rulesets> | |
<ruleset>rulesets/java/coupling.xml</ruleset> | |
<ruleset>rulesets/java/design.xml</ruleset> | |
<ruleset>rulesets/java/controversial.xml</ruleset> | |
<ruleset>rulesets/java/codesize.xml</ruleset> | |
<ruleset>rulesets/java/clone.xml</ruleset> | |
<ruleset>rulesets/java/braces.xml</ruleset> | |
<ruleset>rulesets/java/basic.xml</ruleset> | |
<ruleset>rulesets/java/finalizers.xml</ruleset> | |
<ruleset>rulesets/java/imports.xml</ruleset> | |
<ruleset>rulesets/java/logging-jakarta-commons.xml</ruleset> | |
<ruleset>rulesets/java/logging-java.xml</ruleset> | |
<ruleset>rulesets/java/migrating.xml</ruleset> | |
<ruleset>rulesets/java/optimizations.xml</ruleset> | |
<ruleset>rulesets/java/strictexception.xml</ruleset> | |
<ruleset>rulesets/java/strings.xml</ruleset> | |
<ruleset>rulesets/java/sunsecure.xml</ruleset> | |
<ruleset>rulesets/java/typeresolution.xml</ruleset> | |
<ruleset>rulesets/java/unusedcode.xml</ruleset> | |
</rulesets> | |
<linkXref>true</linkXref> | |
<sourceEncoding>utf-8</sourceEncoding> | |
<targetJdk>1.7</targetJdk> | |
<verbose>true</verbose> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The files rulesets/java/...xml are not required to have here in my project? They are actual rule-sets from server?