I think you want to be using a maven-resources-plugin that's version 2.4.1 or greater, see MRESOURCES-100 and MRESOURCES-106.
http://jira.codehaus.org/browse/MRESOURCES-100 http://jira.codehaus.org/browse/MRESOURCES-106 > -----Original Message----- > From: Laird Nelson [mailto:[email protected]] > Sent: Wednesday, May 19, 2010 11:55 AM > To: Maven Users List > Subject: Maven filtering adding backslashes into Windows file paths? > > I have an XML file that uses ${user.home} in an attribute. > > When Maven filters this and expands it, it expands to: > > C\:\Documents and Settings\...(and so on) > > Note the backslash before the colon, which of course makes > this an invalid path on Windows. > > How can I prevent Maven from doing this? > > Best, > Laird > ------------------------------------------------------------------------------------------------------------------- CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain confidential and proprietary information of Alcatel-Lucent and/or its affiliated entities. Access by the intended recipient only is authorized. Any liability arising from any party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. If you are not the intended recipient, please notify the sender immediately, destroy the original transmission and its attachments and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or its affiliated entities. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
