# ------------------------------------------------------------------- # Copyright 2001-2004 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------- # ------------------------------------------------------------------- # P L U G I N P R O P E R I E S # ------------------------------------------------------------------- # PMD plugin. # ------------------------------------------------------------------- # enable/disable PMD maven.pmd.enable = true # comma seperated list of rules to use # rulesets/experimental.xml is, well, experimental ... use at your own risk maven.pmd.rulesetfiles=${plugin.resources}/rulesets/basic.xml,${plugin.resources}/rulesets/unusedcode.xml,${plugin.resources}/rulesets/imports.xml maven.pmd.includes = **/*.java maven.pmd.excludes = # enable/disable CPD maven.pmd.cpd.enable = false # minimum length of token sequences considered equal maven.pmd.cpd.minimumtokencount = 100