You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2013/01/01 20:01:14 UTC

[jira] (MPMD-84) Maven PMD plugin does not honour exclude-pattern in PMD rulesets

    [ https://jira.codehaus.org/browse/MPMD-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316442#comment-316442 ] 

Dennis Lundberg commented on MPMD-84:
-------------------------------------

Ed,

Can you please zip up a complete sample project that shows off this issue.
Without one it is very difficult for us to verify it.
                
> Maven PMD plugin does not honour exclude-pattern in PMD rulesets
> ----------------------------------------------------------------
>
>                 Key: MPMD-84
>                 URL: https://jira.codehaus.org/browse/MPMD-84
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>            Reporter: Denis Cabasson
>         Attachments: mpmd84-20100716.patch
>
>
> According to PMD documentation, exclude-patterns should be independendant on the program running PMD :
> http://pmd.sourceforge.net/howtomakearuleset.html
> But Maven scans through all the files, not taking into account the exclude-patterns and thus including files that shouldn't be.
> THose file should be filtered out by the maven plugin

--
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