Goal cpd-check uses ${pmd.failOnViolation} for failOnViolation Flag and can't
be set independet from PMD check
--------------------------------------------------------------------------------------------------------------
Key: MPMD-118
URL: http://jira.codehaus.org/browse/MPMD-118
Project: Maven 2.x PMD Plugin
Issue Type: New Feature
Components: CPD
Affects Versions: 2.4
Reporter: Thomas Enderlein
Attachments: plugin.xml
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira