[ 
https://jira.codehaus.org/browse/MPMD-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy updated MPMD-118:
------------------------------

    Fix Version/s: 2.8
         Assignee: Olivier Lamy
    
> Goal cpd-check uses ${pmd.failOnViolation} for failOnViolation Flag and can't 
> be set independet from PMD check
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: MPMD-118
>                 URL: https://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
>            Assignee: Olivier Lamy
>             Fix For: 2.8
>
>         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}}
> {code: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>
> {code}
> That's all.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to