Full name:
org.apache.maven.plugins:maven-pmd-plugin:2.4:cpd-check
Description:
Fail the build if there were any CPD violations in the source code.
Attributes:
2.0.verify.cpd prior to executing itself.| Name | Type | Since | Description |
|---|---|---|---|
| failOnViolation | boolean |
2.0 |
Whether to fail the build if the validation check fails. Default value is: true. |
| targetDirectory | File |
2.0 |
The location of the XML report to check, as generated by the PMD report. |
| 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. |
| skip | boolean |
2.0 |
Skip the CPD violation checks. Most useful on the command line via
"-Dcpd.skip=true". Default value is: false. |
| verbose | boolean |
2.0 |
Print details of check failures to build output. Default value is: false. |
Whether to build an aggregated report at the root, or build individual reports.
boolean2.2No${aggregate}falseWhether to fail the build if the validation check fails.
boolean2.0Yes${pmd.failOnViolation}trueskip :
Skip the CPD violation checks. Most useful on the command line via "-Dcpd.skip=true".
boolean2.0No${cpd.skip}falseThe location of the XML report to check, as generated by the PMD report.
java.io.File2.0Yes${project.build.directory}verbose :
Print details of check failures to build output.
boolean2.0No${pmd.verbose}false