You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2013/06/30 14:03:05 UTC

[jira] (MWAR-258) Filtering of webResources stops on @ character

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

Olivier Lamy commented on MWAR-258:
-----------------------------------

a bit weird but this break an it test.
Build the plugin using: mvn clean install -Prun-it
then have a look at the file: target/it/web-resources-filtering/build.log 
                
> 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
>            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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira