maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Heritier (JIRA)" <>
Subject [jira] Updated: (MRESOURCES-126) Cannot escape String in a filter value
Date Wed, 23 Jun 2010 22:02:12 GMT


Arnaud Heritier updated MRESOURCES-126:

    Attachment: MRESOURCES-126-IT.patch

An updated patch to update an IT to show the issue

> Cannot escape String in a filter value
> --------------------------------------
>                 Key: MRESOURCES-126
>                 URL:
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    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 contact one of the administrators:
For more information on JIRA, see:


View raw message