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

        

Reply via email to