Filtering of webResources stops on @ character
----------------------------------------------
Key: MWAR-258
URL: https://jira.codehaus.org/browse/MWAR-258
Project: Maven 2.x WAR Plugin
Issue Type: Bug
Affects Versions: 2.1.1, 2.1.2, 2.2
Reporter: Miggel
Priority: Minor
Attachments: multiline-filtering.diff
This bug report and the attached patch are inspired by MRESOURCES-104.
Basically, the same problem described as in MRESOURCES-104 also exists for the
WAR-plugin. If a resource file which shall be filtered contains the @
character, the filtering of this file will be stopped because the filter looks
for the closing @ character. This can be fixed by updating the dependency of
the Filter-plugin from 1.0-beta-2 to 1.0 and then making use of
MavenResourcesExecution.setSupportMultiLineFiltering() - see the attached patch.
As I am not totally familiar with the way Maven plugins, I would appreciate it
very much if someone could check my patch for correctness and then apply it.
Thanks :-)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira