You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Murtuza Akhtari (JIRA)" <ji...@codehaus.org> on 2011/12/06 16:47:40 UTC
[jira] Issue Comment Edited: (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=285029#comment-285029 ]
Murtuza Akhtari edited comment on MPMD-84 at 12/6/11 9:47 AM:
--------------------------------------------------------------
Is this bug still open?? Because I just tried the same thing and it works for me. I put this in the configuration section
{code:xml}
<excludes>
<exclude>**/jaxb/**/*.java</exclude>
</excludes>
{code}
I am using maven-pmd-plugin version 2.6
was (Author: inxsible):
Is this bug still open?? Because I just tried the same thing and it works for me. I put this in the configuration section
<excludes>
<exclude>**/jaxb/**/*.java</exclude>
</excludes>
I am using maven-pmd-plugin version 2.6
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira