Michael Gruebsch created MASSEMBLY-652:
------------------------------------------
Summary: Resource filtering does not work if line contains single @
Key: MASSEMBLY-652
URL: https://jira.codehaus.org/browse/MASSEMBLY-652
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Components: filtering
Affects Versions: 2.4
Reporter: Michael Gruebsch
Priority: Minor
Attachments: assembly.xml, pom.xml, test.txt
I want to include and filter Microsoft SQL Server SQL-files. SQL Server has
extended properties which are declared as (extended property "Version" on a
database):
exec DB.sys.sp_addextendedproperty
@name='Version'
, @value='${project.version}'
go
However, if I filter the file which contains this call the expression
${project.version} is not been replaced. I get it working only when adding a
second "@"
exec DB.sys.sp_addextendedproperty
@name='Version'
, @value='@${project.version}'
go
This evaluates to
exec DB.sys.sp_addextendedproperty
@name='Version'
, @value='@2.03.002'
go
However the "@" is not really wanted.
Thank you.
PS: Please rename attached "test.txt" to "test.sql". Got an server error while
trying to upload "test.sql".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira