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 LE JACQUES (JIRA)" <ji...@codehaus.org> on 2013/06/20 11:25:03 UTC

[jira] (MRESOURCES-126) Cannot escape String in a filter value

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

Olivier LE JACQUES commented on MRESOURCES-126:
-----------------------------------------------

I've created an project example to show this issue : 
https://github.com/oliverlj/MRESOURCES-126-EXAMPLE
                
> Cannot escape String in a filter value
> --------------------------------------
>
>                 Key: MRESOURCES-126
>                 URL: https://jira.codehaus.org/browse/MRESOURCES-126
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>          Components: escape string
>    Affects Versions: 2.3, 2.4, 2.4.1, 2.4.2, 2.4.3
>            Reporter: Arnaud Heritier
>         Attachments: MRESOURCES-126-IT.patch
>
>
> I have to filter a file. The value to inject to the file is foo/${name}. Thus in my resource I have @something@ and in my filter I would like to have something=foo/${name}
> I tried to use the escapeString option (\) and added in my filter I used : something=foo/\${name}
> I tested with various syntaxes and escape characters but it doesn't work.
> escapeString can be used to protect special characters in resources but not in filters. In filters properties are always resolved.

--
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