You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/03/16 22:40:24 UTC
[jira] [Closed] (MWAR-332) Make it possible to define delimiters
for filtering
[ https://issues.apache.org/jira/browse/MWAR-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MWAR-332.
-------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.
> Make it possible to define delimiters for filtering
> ---------------------------------------------------
>
> Key: MWAR-332
> URL: https://issues.apache.org/jira/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
(v7.6.3#76005)