[ 
https://jira.codehaus.org/browse/MASSEMBLY-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=342720#comment-342720
 ] 

Karl Heinz Marbaise edited comment on MASSEMBLY-652 at 3/10/14 4:36 PM:
------------------------------------------------------------------------

This is being fixed as well with the commit based on the new version of 
maven-filtering 1.2 artifact.
Tested with the mentioned test project.


was (Author: khmarbaise):
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)

Reply via email to