I've configured maven-resources-plugin with two executions to apply
separate filters, but the output is not filtered! The debug log says
it found the property in the filter file...and it says it found the
file to apply the filter to. Why is it not filtered?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>win-copy-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<filters>
<filter>${project.build.directory}/win-cp.properties</filter>
</filters>
<outputDirectory>${project.build.directory}/extra-resources</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>win-app.properties</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>unix-copy-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<filters>
<filter>${project.build.directory}/unix-cp.properties</filter>
</filters>
<outputDirectory>${project.build.directory}/extra-resources</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>unix-app.properties</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]