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 2012/01/04 22:48:03 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=287449#comment-287449 ] 

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

Does anyone have a sample project that we can use to test this?
                
> 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