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

Mike Rheinheimer commented on MRESOURCES-141:
---------------------------------------------

I'm voting this up.  If my src/main/resources/my.properties file has an odd 
number of '@' chars in it, none of the variables in it are filtered.  This is 
Maven 3.0.3 with 2.5 of the resource plugin.  It DOES work under Maven 2.2.1 
with 2.5 of the resources plugin.  I'll attach a sample project that you can 
run 'mvn resources:resources' against.

> Filtering doesn't work when there is an odd number of @ in the resource
> -----------------------------------------------------------------------
>
>                 Key: MRESOURCES-141
>                 URL: https://jira.codehaus.org/browse/MRESOURCES-141
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>          Components: filtering
>    Affects Versions: 2.4.3, 2.5
>            Reporter: Roland Asmann
>            Assignee: Olivier Lamy
>         Attachments: IT-MRESOURCES-141.patch, resources-bug.zip
>
>
> When filtering a resource that contains an odd number of @, all variables 
> after the last @ are not replaced by the defined values.
> Attached a project that shows this behavior -- workaround is to uncomment the 
> configuration for the resources-plugin in the POM.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to