[
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