You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lou Springer (JIRA)" <ji...@codehaus.org> on 2011/07/12 19:34:42 UTC
[jira] Created: (MRESOURCES-148) Turn Off '@' Escape Filtering
Turn Off '@' Escape Filtering
-----------------------------
Key: MRESOURCES-148
URL: https://jira.codehaus.org/browse/MRESOURCES-148
Project: Maven 2.x Resources Plugin
Issue Type: Improvement
Reporter: Lou Springer
Attachments: test-resouce-escape.tar.gz
I'm trying to filter a groovy script with @Grab annotations like so:
{code}
@Grab(group='com.neosgeo.neosphere.ops', module='host-ops', version='${project.version}')
{code}
${project.version} won't filter. If you use
{code}
@Grab(
group='com.neosgeo.neosphere.ops', module='host-ops', version='${project.version}')
{code}
it does.
Note that
{code}
\@Grab(group='com.neosgeo.neosphere.ops', module='host-ops', version='${project.version}')
{code}
with
{code}
<escapeString>\</escapeString>
{code}
is useless.
There doesn't appear to be anyway to escape the single @ so it isn't interpreted as a filter token, or to turn off '@' as a token entirely.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MRESOURCES-148) Turn Off '@' Escape Filtering
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRESOURCES-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MRESOURCES-148.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.6
Assignee: Olivier Lamy
> Turn Off '@' Escape Filtering
> -----------------------------
>
> Key: MRESOURCES-148
> URL: https://jira.codehaus.org/browse/MRESOURCES-148
> Project: Maven 2.x Resources Plugin
> Issue Type: Improvement
> Reporter: Lou Springer
> Assignee: Olivier Lamy
> Fix For: 2.6
>
> Attachments: test-resouce-escape.tar.gz
>
>
> I'm trying to filter a groovy script with @Grab annotations like so:
> {code}
> @Grab(group='com.neosgeo.neosphere.ops', module='host-ops', version='${project.version}')
> {code}
> ${project.version} won't filter. If you use
> {code}
> @Grab(
> group='com.neosgeo.neosphere.ops', module='host-ops', version='${project.version}')
> {code}
> it does.
> Note that
> {code}
> \@Grab(group='com.neosgeo.neosphere.ops', module='host-ops', version='${project.version}')
> {code}
> with
> {code}
> <escapeString>\</escapeString>
> {code}
> is useless.
>
> There doesn't appear to be anyway to escape the single @ so it isn't interpreted as a filter token, or to turn off '@' as a token entirely.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira