[
https://jira.codehaus.org/browse/MRESOURCES-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl-Heinz Marbaise closed MRESOURCES-126.
------------------------------------------
Resolution: Fixed
Assignee: Karl-Heinz Marbaise
After checking the Test project which has been provied by Olivier LE JACQUES
(Thanks for that) it looks that this issue has been fixed.
I have tested it with maven-resources-plugin 2.6 and 2.7 which works as
expected.
If you have any objections or new information etc please don't hesitate to
reopen the issue.
> Cannot escape String in a filter value
> --------------------------------------
>
> Key: MRESOURCES-126
> URL: https://jira.codehaus.org/browse/MRESOURCES-126
> Project: Maven 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
> Assignee: Karl-Heinz Marbaise
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)