Following this thread and the JIRA issue at the end, if you use the 2.0.1
war-plugin the filtering now works. My pom.xml looks like -
<build>
<finalName>mywebapp</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0.1</version>
<configuration>
<webResources>
<resource>
<filtering>true</filtering>
<directory>${basedir}/src/main/webapp</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
and in my web.xml I have -
<display-name>${project.name} v${project.version}</display-name>
Hope this helps someone else coming across this thread
Cheers
Theo
--
View this message in context:
http://www.nabble.com/War-plugin-and-filtering-webapp-files-tf1617964s177.html#a7736926
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]