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 2008/05/31 01:21:53 UTC
[jira] Created: (MNG-3607) Class loaders employed by Maven return
invalid URLs to resources
Class loaders employed by Maven return invalid URLs to resources
----------------------------------------------------------------
Key: MNG-3607
URL: http://jira.codehaus.org/browse/MNG-3607
Project: Maven 2
Issue Type: Bug
Components: General
Affects Versions: 2.0.9
Reporter: Benjamin Bentmann
This is basically a Plexus thing because {{DefaultPlexusContainer}} from plexus-container-default:1.0-alpha-9-stable-1 is using {{File.toURL()}} instead of {{File.toURI().toURL()}} when populating the class realms from local JAR files (e.g. the resulting URLs return illegal characters like spaces).
The latest plexus-container-default seems to already use the proper methods so this issue is more or less a request to incorporate this fix into the 2.0.x branch. For instance, usage of Ant 1.7 is severly affected by this (MANTRUN-68).
--
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-3607) Class loaders employed by Maven return
invalid URLs to resources
Posted by "David Pilato (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211475#action_211475 ]
David Pilato commented on MNG-3607:
-----------------------------------
As Michael said : is there any way to fix this bug before the 3.0.x version ?
My team is currently working with Maven2 and there are some issues with Maven3 so I can't make all my team move to Maven3...
> Class loaders employed by Maven return invalid URLs to resources
> ----------------------------------------------------------------
>
> Key: MNG-3607
> URL: http://jira.codehaus.org/browse/MNG-3607
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: General
> Affects Versions: 2.0.9
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: 3.0-alpha-3
>
>
> This is basically a Plexus thing because {{DefaultPlexusContainer}} from plexus-container-default:1.0-alpha-9-stable-1 is using {{File.toURL()}} instead of {{File.toURI().toURL()}} when populating the class realms from local JAR files (e.g. the resulting URLs return illegal characters like spaces).
> The latest plexus-container-default seems to already use the proper methods so this issue is more or less a request to incorporate this fix into the 2.0.x branch. For instance, usage of Ant 1.7 is severly affected by this (MANTRUN-68).
--
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-3607) Class loaders employed by Maven return
invalid URLs to resources
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-3607.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.x)
3.0-alpha-3
Assignee: Benjamin Bentmann
Fixed by updating to recent Plexus versions.
> Class loaders employed by Maven return invalid URLs to resources
> ----------------------------------------------------------------
>
> Key: MNG-3607
> URL: http://jira.codehaus.org/browse/MNG-3607
> Project: Maven 2
> Issue Type: Bug
> Components: General
> Affects Versions: 2.0.9
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: 3.0-alpha-3
>
>
> This is basically a Plexus thing because {{DefaultPlexusContainer}} from plexus-container-default:1.0-alpha-9-stable-1 is using {{File.toURL()}} instead of {{File.toURI().toURL()}} when populating the class realms from local JAR files (e.g. the resulting URLs return illegal characters like spaces).
> The latest plexus-container-default seems to already use the proper methods so this issue is more or less a request to incorporate this fix into the 2.0.x branch. For instance, usage of Ant 1.7 is severly affected by this (MANTRUN-68).
--
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] Updated: (MNG-3607) Class loaders employed by Maven return
invalid URLs to resources
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3607:
------------------------------
Fix Version/s: 2.1
> Class loaders employed by Maven return invalid URLs to resources
> ----------------------------------------------------------------
>
> Key: MNG-3607
> URL: http://jira.codehaus.org/browse/MNG-3607
> Project: Maven 2
> Issue Type: Bug
> Components: General
> Affects Versions: 2.0.9
> Reporter: Benjamin Bentmann
> Fix For: 2.1
>
>
> This is basically a Plexus thing because {{DefaultPlexusContainer}} from plexus-container-default:1.0-alpha-9-stable-1 is using {{File.toURL()}} instead of {{File.toURI().toURL()}} when populating the class realms from local JAR files (e.g. the resulting URLs return illegal characters like spaces).
> The latest plexus-container-default seems to already use the proper methods so this issue is more or less a request to incorporate this fix into the 2.0.x branch. For instance, usage of Ant 1.7 is severly affected by this (MANTRUN-68).
--
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-3607) Class loaders employed by Maven return
invalid URLs to resources
Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196881#action_196881 ]
Michael Osipov commented on MNG-3607:
-------------------------------------
Is there no way that such a crucial fix will land in 2.2.x or even 2.0.x?
> Class loaders employed by Maven return invalid URLs to resources
> ----------------------------------------------------------------
>
> Key: MNG-3607
> URL: http://jira.codehaus.org/browse/MNG-3607
> Project: Maven 2
> Issue Type: Bug
> Components: General
> Affects Versions: 2.0.9
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: 3.0-alpha-3
>
>
> This is basically a Plexus thing because {{DefaultPlexusContainer}} from plexus-container-default:1.0-alpha-9-stable-1 is using {{File.toURL()}} instead of {{File.toURI().toURL()}} when populating the class realms from local JAR files (e.g. the resulting URLs return illegal characters like spaces).
> The latest plexus-container-default seems to already use the proper methods so this issue is more or less a request to incorporate this fix into the 2.0.x branch. For instance, usage of Ant 1.7 is severly affected by this (MANTRUN-68).
--
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