You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/10/15 19:14:27 UTC

[jira] Commented: (MRESOURCES-109) Problem when variables are replaced in under windows in the ressources files

    [ http://jira.codehaus.org/browse/MRESOURCES-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194888#action_194888 ] 

Benjamin Bentmann commented on MRESOURCES-109:
----------------------------------------------

Maven itself is not responsible for the filtering of resources, so you want to check what version of the Maven Resources Plugin gets used. From your description, it seems you have not locked the plugin versions so you are subject to the default versions contributed by the [super POM|http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Super_POM]. Also, you want to verify that this issue is still valid for the latest version of the Maven Resources Plugin.

> Problem when variables are replaced in under windows in the ressources files
> ----------------------------------------------------------------------------
>
>                 Key: MRESOURCES-109
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-109
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Alexandre Navarro
>
> Problem when variables are replaced in under windows in the ressources files.
> For instance, I have a persistence.xml in src/main/ressources
> with
>  <jar-file>${basedir}/target/classes</jar-file>
> After filtering, the String was changed to
> <jar-file>C\:\\HOMEWARE\\workspace-3.5\\efts-trunk\\efts-referential/target/classes</jar-file>
> The \ after C: is abnormal.
> In maven 2.0.9, it works (no \)  but in maven 2.2.1 it does not work.

-- 
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