[ http://jira.codehaus.org/browse/MRESOURCES-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MRESOURCES-42. ---------------------------------- Assignee: Olivier Lamy Resolution: Fixed fix by using maven-filtering component > Filtering properties that contain ${basedir} for property files doesn't > escape backslashes > ------------------------------------------------------------------------------------------- > > Key: MRESOURCES-42 > URL: http://jira.codehaus.org/browse/MRESOURCES-42 > Project: Maven 2.x Resources Plugin > Issue Type: Bug > Affects Versions: 2.2, 2.3 > Environment: OS: Windows XP; Maven: 2.0.5, 2.0.6; > Reporter: Jérémy Soula > Assignee: Olivier Lamy > Fix For: 2.3 > > Attachments: MRESOURCES-42-maven-resources-plugin-2.3-SNAPSHOT.patch > > > For exemple consider this in a filtered property files > application.propertyOne=${pom.build.directory} > application.propertyTwo=${basedir} > which generates after filtering: > application.propertyOne=D\:\\ProjectsDirectory\\project\\target > application.propertyTwo=D:\ProjectsDirectory\project\ > Behavior are different and causes a second property bad value when reading > the properties file. -- 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