You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jose Morales Martinez (JIRA)" <ji...@codehaus.org> on 2009/03/04 16:45:13 UTC
[jira] Created: (MNG-4064) Maven replace var
project.build.directory for escape character '/'
Maven replace var project.build.directory for escape character '/'
------------------------------------------------------------------
Key: MNG-4064
URL: http://jira.codehaus.org/browse/MNG-4064
Project: Maven 2
Issue Type: Bug
Components: Maven Resources Filtering
Affects Versions: 2.0.10
Environment: Windows XP
Reporter: Jose Morales Martinez
When I process Maven vars in resources files, Maven replace project.build.directory var for path with characters //.
Maven 2.0.9 replace path successfully, but Maven 2.0.10 replace character '/' for '//'
--
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
[jira] Closed: (MNG-4064) Maven replace var project.build.directory
for escape character '/'
Posted by "Jose Morales Martinez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jose Morales Martinez closed MNG-4064.
--------------------------------------
Resolution: Not A Bug
> Maven replace var project.build.directory for escape character '/'
> ------------------------------------------------------------------
>
> Key: MNG-4064
> URL: http://jira.codehaus.org/browse/MNG-4064
> Project: Maven 2
> Issue Type: Bug
> Components: Maven Resources Filtering
> Affects Versions: 2.0.10
> Environment: Windows XP
> Reporter: Jose Morales Martinez
>
> When I process Maven vars in resources files, Maven replace project.build.directory var for path with characters //.
> Maven 2.0.9 replace path successfully, but Maven 2.0.10 replace character '/' for '//'
--
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
[jira] Commented: (MNG-4064) Maven replace var
project.build.directory for escape character '/'
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170622#action_170622 ]
Brett Porter commented on MNG-4064:
-----------------------------------
how did that test go Jose?
> Maven replace var project.build.directory for escape character '/'
> ------------------------------------------------------------------
>
> Key: MNG-4064
> URL: http://jira.codehaus.org/browse/MNG-4064
> Project: Maven 2
> Issue Type: Bug
> Components: Maven Resources Filtering
> Affects Versions: 2.0.10
> Environment: Windows XP
> Reporter: Jose Morales Martinez
>
> When I process Maven vars in resources files, Maven replace project.build.directory var for path with characters //.
> Maven 2.0.9 replace path successfully, but Maven 2.0.10 replace character '/' for '//'
--
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
[jira] Commented: (MNG-4064) Maven replace var
project.build.directory for escape character '/'
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167893#action_167893 ]
Olivier Lamy commented on MNG-4064:
-----------------------------------
Probably MSHARED-78 ?
Can you test with last resources plugin snapshot ?
> Maven replace var project.build.directory for escape character '/'
> ------------------------------------------------------------------
>
> Key: MNG-4064
> URL: http://jira.codehaus.org/browse/MNG-4064
> Project: Maven 2
> Issue Type: Bug
> Components: Maven Resources Filtering
> Affects Versions: 2.0.10
> Environment: Windows XP
> Reporter: Jose Morales Martinez
>
> When I process Maven vars in resources files, Maven replace project.build.directory var for path with characters //.
> Maven 2.0.9 replace path successfully, but Maven 2.0.10 replace character '/' for '//'
--
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
[jira] Commented: (MNG-4064) Maven replace var
project.build.directory for escape character '/'
Posted by "Jose Morales Martinez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167898#action_167898 ]
Jose Morales Martinez commented on MNG-4064:
--------------------------------------------
I use this configuration in pom.xml:
{noformat}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
{noformat}
I think this should use the last release plugin (2.3). I used this configuration with Maven 2.0.9 and go OK, but when I installed Maven 2.0.10, I have got this problem.
I am going swap resource plugin to version 2.2 and I will test with Maven 2.0.10 and comment the result.
> Maven replace var project.build.directory for escape character '/'
> ------------------------------------------------------------------
>
> Key: MNG-4064
> URL: http://jira.codehaus.org/browse/MNG-4064
> Project: Maven 2
> Issue Type: Bug
> Components: Maven Resources Filtering
> Affects Versions: 2.0.10
> Environment: Windows XP
> Reporter: Jose Morales Martinez
>
> When I process Maven vars in resources files, Maven replace project.build.directory var for path with characters //.
> Maven 2.0.9 replace path successfully, but Maven 2.0.10 replace character '/' for '//'
--
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
[jira] Commented: (MNG-4064) Maven replace var
project.build.directory for escape character '/'
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167891#action_167891 ]
Brett Porter commented on MNG-4064:
-----------------------------------
this is probably a difference between the resources plugin v2.2 and v2.3, not a bug in Maven.
Can you set the version of the resources plugin to 2.2 and confirm it works consistently in both versions?
If so, it might be a regression change that needs to be addressed there. A test project would be helpful as well.
> Maven replace var project.build.directory for escape character '/'
> ------------------------------------------------------------------
>
> Key: MNG-4064
> URL: http://jira.codehaus.org/browse/MNG-4064
> Project: Maven 2
> Issue Type: Bug
> Components: Maven Resources Filtering
> Affects Versions: 2.0.10
> Environment: Windows XP
> Reporter: Jose Morales Martinez
>
> When I process Maven vars in resources files, Maven replace project.build.directory var for path with characters //.
> Maven 2.0.9 replace path successfully, but Maven 2.0.10 replace character '/' for '//'
--
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
[jira] Commented: (MNG-4064) Maven replace var
project.build.directory for escape character '/'
Posted by "Jose Morales Martinez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170721#action_170721 ]
Jose Morales Martinez commented on MNG-4064:
--------------------------------------------
I fixed process-resources version to 2.2 and then it works successfully. With version 2.3 it doesn't work.
You can close this issue.
> Maven replace var project.build.directory for escape character '/'
> ------------------------------------------------------------------
>
> Key: MNG-4064
> URL: http://jira.codehaus.org/browse/MNG-4064
> Project: Maven 2
> Issue Type: Bug
> Components: Maven Resources Filtering
> Affects Versions: 2.0.10
> Environment: Windows XP
> Reporter: Jose Morales Martinez
>
> When I process Maven vars in resources files, Maven replace project.build.directory var for path with characters //.
> Maven 2.0.9 replace path successfully, but Maven 2.0.10 replace character '/' for '//'
--
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
[jira] Moved: (MRESOURCES-102) Maven replace var
project.build.directory for escape character '/'
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRESOURCES-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann moved MNG-4064 to MRESOURCES-102:
---------------------------------------------------
Affects Version/s: (was: 2.0.10)
2.2
Component/s: (was: Maven Resources Filtering)
Complexity: (was: Intermediate)
Key: MRESOURCES-102 (was: MNG-4064)
Project: Maven 2.x Resources Plugin (was: Maven 2)
> Maven replace var project.build.directory for escape character '/'
> ------------------------------------------------------------------
>
> Key: MRESOURCES-102
> URL: http://jira.codehaus.org/browse/MRESOURCES-102
> Project: Maven 2.x Resources Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: Windows XP
> Reporter: Jose Morales Martinez
>
> When I process Maven vars in resources files, Maven replace project.build.directory var for path with characters //.
> Maven 2.0.9 replace path successfully, but Maven 2.0.10 replace character '/' for '//'
--
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