You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Xavier Le Vourch (JIRA)" <ji...@codehaus.org> on 2007/11/30 18:48:57 UTC

[jira] Commented: (MPMD-54) "excludes" appears to be ignored under Linux, even though it works fine under Windows

    [ http://jira.codehaus.org/browse/MPMD-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115560 ] 

Xavier Le Vourch commented on MPMD-54:
--------------------------------------

Could you attach a complete example or at least the complete pom.xml  showing this behavior?

exclude seems to work fine on Linux for me using the code fragment you included.

> "excludes" appears to be ignored under Linux, even though it works fine under Windows
> -------------------------------------------------------------------------------------
>
>                 Key: MPMD-54
>                 URL: http://jira.codehaus.org/browse/MPMD-54
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: CPD, PMD
>    Affects Versions: 2.2
>         Environment: Red Hat Enterprise Linux 3 (64bit)
>            Reporter: Immo Huneke
>            Priority: Minor
>
> The "excludes" configuration does not seem to work in all environments.  In my project I find that if I express the "excludes" clause in any of the following ways, it is honoured under Windows, but the affected source files are still included when the same project is built under Linux. I have explicitly made sure that version 2.2 of the PMD plugin is being used and that the same version of Maven is used in both environments:
>                     <excludes>
>                         <exclude>**/generated-sources/</exclude>
>                     </excludes>
>                     <excludes>
>                         <exclude>**/generated-sources/**</exclude>
>                     </excludes>
>                     <excludes>
>                         <exclude>**/generated-sources/**/*.java</exclude>
>                     </excludes>

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