[
https://jira.codehaus.org/browse/MASSEMBLY-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Heinz Marbaise closed MASSEMBLY-652.
-----------------------------------------
Resolution: Fixed
This is being fixed as well with the commit based on the new version of
maven-filtering 1.2 artifact.
> Resource filtering does not work if line contains single @
> ----------------------------------------------------------
>
> Key: MASSEMBLY-652
> URL: https://jira.codehaus.org/browse/MASSEMBLY-652
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Components: filtering
> Affects Versions: 2.4
> Reporter: Michael Gruebsch
> Assignee: Karl Heinz Marbaise
> Priority: Minor
> Fix For: 2.5
>
> 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):
> {noformat}
> exec DB.sys.sp_addextendedproperty
> @name='Version'
> , @value='${project.version}'
> go
> {noformat}
> 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 "@"
> {noformat}
> exec DB.sys.sp_addextendedproperty
> @name='Version'
> , @value='@${project.version}'
> go
> {noformat}
> This evaluates to
> {noformat}
> exec DB.sys.sp_addextendedproperty
> @name='Version'
> , @value='@2.03.002'
> go
> {noformat}
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)