You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by user454322 <ja...@yahoo.com.mx> on 2012/02/02 08:08:32 UTC
Re: How to filter META-INF/context.xml
I gor it with the war-plugin
<build>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<containerConfigXML>src/main/resources/META-INF/context.xml</containerConfigXML>
<archive>
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
*<webResources>
<resource>
<directory>src/main/resources/META-INF</directory>
<filtering>true</filtering>
<targetPath>META-INF</targetPath>
</resource>
</webResources>*
</configuration>
</plugin>
</plugins>
...
</build>
--
View this message in context: http://maven.40175.n5.nabble.com/How-to-filter-META-INF-context-xml-tp120983p5449829.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org