Issue Details (XML | Word | Printable)

Key: MNG-3607
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Benjamin Bentmann
Reporter: Benjamin Bentmann
Votes: 4
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Maven 2 & 3

Class loaders employed by Maven return invalid URLs to resources

Created: 30/May/08 06:20 PM   Updated: 02/Nov/09 06:43 AM   Resolved: 30/Oct/09 04:57 PM
Return to search
Component/s: General
Affects Version/s: 2.0.9
Fix Version/s: 3.0-alpha-3

Time Tracking:
Not Specified

Issue Links:
Related
dependent

Complexity: Intermediate


 Description  « Hide

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



Benjamin Bentmann added a comment - 30/Oct/09 04:57 PM

Fixed by updating to recent Plexus versions.


Michael Osipov added a comment - 02/Nov/09 06:43 AM

Is there no way that such a crucial fix will land in 2.2.x or even 2.0.x?