Maven
  1. Maven
  2. MNG-4984

Simplify drop in of 3rd party extensions for Maven core

    Details

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

      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
          Benjamin Bentmann added a comment -

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: