Maven 2 & 3
  1. Maven 2 & 3
  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

          Benjamin Bentmann made changes -
          Field Original Value New Value
          Link This issue is depended upon by MANTRUN-68 [ MANTRUN-68 ]
          Benjamin Bentmann made changes -
          Link This issue is related to MNG-3272 [ MNG-3272 ]
          Benjamin Bentmann made changes -
          Link This issue is related to CLASSWORLDS-21 [ CLASSWORLDS-21 ]
          Brett Porter made changes -
          Fix Version/s 2.1 [ 13142 ]
          Benjamin Bentmann made changes -
          Link This issue depends upon PLX-220 [ PLX-220 ]
          Jason van Zyl made changes -
          Fix Version/s 3.0 [ 13142 ]
          Fix Version/s 3.x [ 13145 ]
          Paul Gier made changes -
          Link This issue relates to MJBOSS-35 [ MJBOSS-35 ]
          Benjamin Bentmann made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Benjamin Bentmann [ bentmann ]
          Fix Version/s 3.x [ 13145 ]
          Benjamin Bentmann made changes -
          Link This issue is depended upon by MNG-2285 [ MNG-2285 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: