Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3
-
None
-
None
-
Maven 2.0.9, Java 1.6.0_07 OS_X
Description
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.