Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1-alpha-1
-
None
-
None
Description
When specifying filters on the plugin (not inside <project>) like this:
<configuration>
<resource>
<directory>polopoly-resources/config_ptest</directory>
<targetPath>WEB-INF/config</targetPath>
</resource>
<warName>ptest</warName>
<workDirectory>target/ptest-work</workDirectory>
<filters>
<filter>src/main/filters/filter.ptest.properties</filter>
</filters>
<webResources>
<resource>
<directory>src/main/resources</directory>
<targetPath>WEB-INF/classes</targetPath>
<filtering>true</filtering>
</resource>
</webResources>
the list of filters is ignored. If I move the <filters> list to inside the <project> they work as expected. The documentation explicitly say that this is possible under the section "Filtering webResources".