PMD Plug-in Properties Siegfried Goeschl
Property Optional? Description
maven.pmd.enable No Enable/disable the PMD plugin. Has to be set to "true" to enable the plugin
maven.pmd.rulesetfiles Yes Defines the rule to be used for running PMD. Is already defined in the plugin
maven.pmd.includes Yes Specifies a comma-separated list of Ant patterns to use when matching files in the source tree to be included in the PMD report. The pattern specified is relative to ${maven.src.dir}. The default value is **/*.java, which matches all Java source files in the source tree (specified by the ${maven.src.dir} property.
maven.pmd.excludes Yes Specifies a comma-separated list of Ant patterns to use when matching files in the source tree to be excluded from the PMD report. The pattern specified is relative to ${maven.src.dir}. The default value is to not exclude any files.
maven.pmd.cpd.enable Yes Enable/disable the CPD report. Defaults to "false".
maven.pmd.cpd.minimumtokencount Yes Specifies the minimal number required to consider two sequences of tokens identical. Defaults to "100".