Full name:
org.apache.maven.plugins:maven-pmd-plugin:3.0.1:cpd-check
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
failOnViolation | boolean | 3.0 | Whether to fail the build if the validation check fails. Default value is: true. User property is: cpd.failOnViolation. |
targetDirectory | File | 2.0 | The location of the XML report to check, as generated by the PMD
report. User property is: project.build.directory. |
Name | Type | Since | Description |
---|---|---|---|
aggregate | boolean | 2.2 | Whether to build an aggregated report at the root, or build
individual reports. Default value is: false. User property is: aggregate. |
excludeFromFailureFile | String | 3.0 | File that lists classes and rules to be excluded from failures For
PMD, this is a properties file For CPD, this is a text file that
contains comma-separated lists of classes that are allowed to
duplicate User property is: pmd.excludeFromFailureFile. |
printFailingErrors | boolean | 3.0 | Print details of errors that cause build failure Default value is: false. User property is: pmd.printFailingErrors. |
skip | boolean | 2.0 | Skip the CPD violation checks. Most useful on the command line via
"-Dcpd.skip=true". Default value is: false. User property is: cpd.skip. |
verbose | boolean | 2.0 | Print details of check failures to build output. Default value is: false. User property is: pmd.verbose. |
skip: