Hi,
I noticed that if I set up filters inside the maven-war-plugin
configuration (snippet below) and run maven with -X flag the 'filters'
propety shows up as empty.
The resource understandably is not patched. However, setting up
<filters> under <build> works and war plugin shows 'filters' populated
when run with -X
How should the war plugin use the filters set up from its config element?
TIA,
Rahul
[snip]
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<filters>
<filter>
${basedir}/src/main/filters/development.properties
</filter>
</filters>
<webResources>
<resource>
<directory>
${basedir}/src/webapp/patches/common
</directory>
<includes>
<include>resources-config.xml</include>
</includes>
<filtering>true</filtering>
<targetPath>WEB-INF</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
[/snip]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]