[ https://jira.codehaus.org/browse/MPMD-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285029#comment-285029 ]
Murtuza Akhtari commented on MPMD-84: ------------------------------------- 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