Author: olamy Date: Sun Feb 17 14:08:42 2008 New Revision: 628560 URL: http://svn.apache.org/viewvc?rev=628560&view=rev Log: documentation on nonFilteredFileExtensions
Modified: maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/adding-filtering-webresources.apt Modified: maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/adding-filtering-webresources.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/adding-filtering-webresources.apt?rev=628560&r1=628559&r2=628560&view=diff ============================================================================== --- maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/adding-filtering-webresources.apt (original) +++ maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/adding-filtering-webresources.apt Sun Feb 17 14:08:42 2008 @@ -247,7 +247,9 @@ +----------+ ***with the following in our pom.xml : - + + To prevent corrupting your binaries files where filtering is enabled, you can configure a list of file extensions to not filtering. + +----------+ [...] <configuration> @@ -256,6 +258,10 @@ <filters> <filter>properties/config.prop</filter> </filters> + <nonFilteredFileExtensions> + <nonFilteredFileExtension>pdf</nonFilteredFileExtensions> + <!-- default value contains jpg,jpeg,gif,bmp,png --> + </nonFilteredFileExtensions> <webResources> <resource> <directory>resource2</directory>