[ https://jira.codehaus.org/browse/MWAR-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Lamy updated MWAR-258:
------------------------------
Fix Version/s: 2.4
Assignee: Olivier Lamy
> 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
> Components: filtering
> Affects Versions: 2.1.1
> Reporter: Miggel
> Assignee: Olivier Lamy
> Priority: Minor
> Fix For: 2.4
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|