<resources> are filtered by test filters
----------------------------------------

                 Key: MRESOURCES-79
                 URL: http://jira.codehaus.org/browse/MRESOURCES-79
             Project: Maven 2.x Resources Plugin
          Issue Type: Bug
    Affects Versions: 2.3
         Environment: Maven 2.0.9, Java 1.6.0_07 OS_X
            Reporter: nodje
         Attachments: resources-testcase.zip

With the following configuration I assume <resources> should get filtered by 
src/main/filters/* and <testResources> by src/test/filters/* :

<filters>
            <filter>src/main/filters/dev.filter.properties</filter>
            <filter>src/test/filters/dev.filter.properties</filter>
        </filters>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
        <testResources>
            <testResource>
                <directory>src/test/resources</directory>
                <filtering>true</filtering>
            </testResource>
        </testResources>

But all resources files end up being filtered by the src/test/filters/*.

Attached is the simpliest Maven2 proect reproducing this behavior.

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

        

Reply via email to