You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Frans van Buul (JIRA)" <ji...@codehaus.org> on 2010/03/05 14:08:55 UTC
[jira] Commented: (MPMD-84) Maven PMD plugin does not honour
exclude-pattern in PMD rulesets
[ http://jira.codehaus.org/browse/MPMD-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=212820#action_212820 ]
Frans van Buul commented on MPMD-84:
------------------------------------
Hi,
I'm having the same problem. In our case, it's quite important and in fact a showstopper for using the plugin in our project.
The use case is as follows: I need to work with some complex XML schema's. After ws-import/xjc compilation, I end up with more than a 1000 generated classes, that cause many PMD violations. These classes need to be excluded to get useful reports, and to get acceptable PMD plugin
performance.
Kind regards,
Frans van Buul
> Maven PMD plugin does not honour exclude-pattern in PMD rulesets
> ----------------------------------------------------------------
>
> Key: MPMD-84
> URL: http://jira.codehaus.org/browse/MPMD-84
> Project: Maven 2.x PMD Plugin
> Issue Type: Bug
> Components: PMD
> Affects Versions: 2.4
> Reporter: Denis Cabasson
>
> 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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira