Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3607

Class loaders employed by Maven return invalid URLs to resources

    Details

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

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: