summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Kriese2011-05-24 04:55:53 (EDT)
committerSteffen Kriese2011-05-24 04:55:53 (EDT)
commit8d8fb967755b83cc3278d9cd7696212a3d761722 (patch)
tree8f8f293ab7792f6a604b18ce855220b88c6a0706
parenta5f507983f82d6e6c9cd99b02a727bc908c7a04b (diff)
downloadorg.eclipse.riena-8d8fb967755b83cc3278d9cd7696212a3d761722.zip
org.eclipse.riena-8d8fb967755b83cc3278d9cd7696212a3d761722.tar.gz
org.eclipse.riena-8d8fb967755b83cc3278d9cd7696212a3d761722.tar.bz2
added pmd config
-rw-r--r--org.eclipse.riena.build.tycho/pom.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/org.eclipse.riena.build.tycho/pom.xml b/org.eclipse.riena.build.tycho/pom.xml
index 5304fa8..4bf888a 100644
--- a/org.eclipse.riena.build.tycho/pom.xml
+++ b/org.eclipse.riena.build.tycho/pom.xml
@@ -72,10 +72,14 @@
<linkXref>true</linkXref>
<minimumTokens>100</minimumTokens>
<targetJdk>1.5</targetJdk>
- <!-- <excludes> <exclude>**/*Bean.java</exclude> <exclude>**/generated/*.java</exclude>
- </excludes> -->
- <!-- <excludeRoots> <excludeRoot>target/generated-sources/stubs</excludeRoot>
- </excludeRoots> -->
+ <rulesets>
+ <!-- List of available rules: http://pmd.sourceforge.net/rules/index.html -->
+ <ruleset>/rulesets/basic.xml</ruleset>
+ <ruleset>/rulesets/braces.xml</ruleset>
+ <ruleset>/rulesets/naming.xml</ruleset>
+ <ruleset>/rulesets/design.xml</ruleset>
+ <ruleset>/rulesets/unusedcode.xml</ruleset>
+ </rulesets>
</configuration>
</plugin>