[ http://jira.codehaus.org/browse/MRESOURCES-25?page=comments#action_73290 ] Holger Riegel commented on MRESOURCES-25: -----------------------------------------
Are you sure you are using version 2.2 of Maven resources plugin? Look at your local Maven repository in the path org/apache/maven/plugins/maven-resources-plugin. If there's a directory with name "2.1" you are using the old 2.1 version of the plugin. I had the same effect as the one you described. But when I specified in the pom.xml the version 2.2 it worked: <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.2</version> </plugin> Alternatively you may delete your local repository. Maven should then get the latest version of the resources plugin. > Filtering of property values containing backslashes in path names still does > not escape them? > --------------------------------------------------------------------------------------------- > > Key: MRESOURCES-25 > URL: http://jira.codehaus.org/browse/MRESOURCES-25 > Project: Maven 2.x Resources Plugin > Issue Type: Bug > Environment: Windows > Reporter: Bryan Carpenter > > This was originally reported as MRESOURCES-17, and I understood from the > comments > there it was fixed in version 2.2 of the plugin. But I have tried using that > version of the > resources plugin, and I am still seeing the same problem. > My source property file contains: > org.apache.ws.security.crypto.merlin.file=${basedir}/keys/x509.PFX.MSFT > After filtering it looks like this: > > org.apache.ws.security.crypto.merlin.file=D:\cygwin\home\dbc\cvs\omii-packaging\source\ws-wss4j/keys/x509.PFX.MSFT > and when the this is read in by `Properties.load()' the value ends up as: > d:cygwinhomedbccvsomii-packagingsourcews-wss4j/keys/x509.PFX.MSFT -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira