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

Simplify drop in of 3rd party extensions for Maven core

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3
    • Component/s: Class Loading, Command Line
    • Labels:
      None

      Description

      To enhance a stock Maven distro, 3rd parties can drop additional JARs into the distro's lib directory. If those JARs need to replace default components, the extension needs to be placed first on the classpath to ensure the Plexus container looks up the desired impl. Ensuring that the 3rd party JARs get loaded before the stock Maven JAR requires currently editing the m2.conf used to bootstrap Classworlds. To eliminate this last step, we can support a dedicated ext directory that gets loaded before the default JARs.

        Issue Links

          Activity

          Hide
          bentmann Benjamin Bentmann added a comment -

          Made Classworlds load JARs from lib/ext before lib in r1060814.

          Show
          bentmann Benjamin Bentmann added a comment - Made Classworlds load JARs from lib/ext before lib in r1060814 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development