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

Class loaders employed by Maven return invalid URLs to resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.9
    • 3.0-alpha-3
    • General
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: