git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@521198 13f79535-47bb-0310-9956-ffa450edef68
58 lines
1.9 KiB
Properties
58 lines
1.9 KiB
Properties
# -------------------------------------------------------------------
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You 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
|
|
|
|
# JDK target
|
|
maven.pmd.targetjdk=${maven.compile.source}
|
|
|
|
# JSL stylesheet
|
|
maven.pmd.stylesheet = ${plugin.resources}/pmd.jsl |