maven-plugins/pmd/plugin.properties

51 lines
1.6 KiB
Properties

# -------------------------------------------------------------------
# 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=rulesets/basic.xml,rulesets/unusedcode.xml,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
# whether or not to run PMD on test files
maven.pmd.check.tests = true
# Print the output to the console
maven.pmd.console = false
# Fail the build ?
maven.pmd.failonerror = false
maven.pmd.failonruleviolation = false