Description
The failOnViolation Flag can only be set for PMD and also is used by CPD.
With the following change we can decide if we want to configure PMD and/or CPD:
File: plugin.xml
... <mojo> <goal>cpd-check</goal> ... <configuration> ... NOW: <failOnViolation implementation="boolean" default-value="true">${pmd.failOnViolation}</failOnViolation> Change to: <failOnViolation implementation="boolean" default-value="true">${cpd.failOnViolation}</failOnViolation>
That's all.