Maven
  1. Maven
  2. MNG-3607

Class loaders employed by Maven return invalid URLs to resources

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.9
    • Fix Version/s: 3.0-alpha-3
    • Component/s: General
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Benjamin Bentmann
            • Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: