You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Immo Huneke (JIRA)" <ji...@codehaus.org> on 2007/04/11 18:37:46 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_92575 ] 

Immo Huneke commented on MPMD-54:
---------------------------------

The second and third examples above got garbled because the asterisks were interpreted as bold on/off by JIRA.

The patterns should be read as: {code}
                    <excludes>
                        <exclude>**/generated-sources/**</exclude>
                    </excludes>

                    <excludes>
                        <exclude>**/generated-sources/**/*.java</exclude>
                    </excludes>
{code}

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