Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

It's not excluding files correctly. #7

Closed
JimBarrows opened this issue Mar 18, 2010 · 3 comments
Closed

It's not excluding files correctly. #7

JimBarrows opened this issue Mar 18, 2010 · 3 comments

Comments

@JimBarrows
Copy link

My plugin definition looks like:

net.alchim31.maven
yuicompressor-maven-plugin
0.9
false



compress



                <nosuffix>true</nosuffix>

                <excludes>
                    <exclude>**/*centroplex.js</exclude>
                    <exclude>**/*iamCore.js</exclude>
                    <exclude>**/*ext-lang*.js</exclude>                     
                    <exclude>**/ext-js</exclude>
                    <exclude>**/ext-ux</exclude>
                    <exclude>**/ext-js/locale</exclude>
                </excludes>
            </configuration>

        </plugin>

However, it's still processing everything in the ext-js/locale directory anyway. The directory path is: ${builddir}/webapp/js/ext-js/locale

@davidB
Copy link
Owner

davidB commented Mar 18, 2010

I'll try to reproduce the bug (and create a test case).
Have you try to exclude /ext-js/locale/

@JimBarrows
Copy link
Author

I just did and that worked. I'm trying to figure out where I got the idea I could exclude directories without the ** after the last slash.

@davidB
Copy link
Owner

davidB commented Mar 18, 2010

I do the same (eg: .gitignore,...) IMO its a bug, bu tI can't change it as I use the directory scanner provide by maven.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants