[ 
https://jira.codehaus.org/browse/MWAR-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354505#comment-354505
 ] 

Kristian Rosenvold commented on MWAR-332:
-----------------------------------------

I'm not really sure what the use case for this is. This is implemented at the 
lower levels, so its just a matter of calling the appropriate setters.

> Make it possible to define delimiters for filtering
> ---------------------------------------------------
>
>                 Key: MWAR-332
>                 URL: https://jira.codehaus.org/browse/MWAR-332
>             Project: Maven WAR Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.5
>            Reporter: Karl-Heinz Marbaise
>            Priority: Minor
>
> It would be usefull to make it possible to define the delimiters which will 
> be used for filtering.
> {code:xml}
> <configuration>
>           <!-- the default value is the filter list under build -->
>           <!-- specifying a filter will override the filter list under build 
> -->
>           <filters>
>             <filter>properties/config.prop</filter>
>           </filters>
>           <nonFilteredFileExtensions>
>             <!-- default value contains jpg,jpeg,gif,bmp,png -->
>             <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
>           </nonFilteredFileExtensions>
>           <webResources>
>             <resource>
>               <directory>resource2</directory>
>               <!-- it's not a good idea to filter binary files -->
>               <filtering>false</filtering>
>             </resource>
>             <resource>
>               <directory>configurations</directory>
>               <!-- enable filtering -->
>               <filtering>true</filtering>
>               <excludes>
>                 <exclude>**/properties</exclude>
>               </excludes>
>             </resource>
>           </webResources>
>         </configuration>
> {code}
> To enhance the above with elements for delimiters like this:
> {code:xml}
>             <resource>
>               <directory>configurations</directory>
>               <!-- enable filtering -->
>               <filtering>true</filtering>
>               <delimiters>Whatever</delimiters>
>               <excludes>
>                 <exclude>**/properties</exclude>
>               </excludes>
>             </resource>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to