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

inconsistent classloading for extensions=true plugins

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1, 3.2.5
    • Fix Version/s: 3.2.6, 3.3.1
    • Component/s: Class Loading
    • Labels:
      None

      Description

      Maven creates two class realms for build extensions plugins. One realm is used to contribute core extensions and the other to execute plugins goals. The two realms have slightly different classpath, with extensions realm not "seeing" classes from other extensions and not resolving reactor dependencies. The two realms are mostly independent and have duplicate copies of components, including duplicate copies of singletons. This results in multiple invocation of singleton components in some cases. This also results inconsistent/unexpected component wiring.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                igorfie igorfie
                Reporter:
                igorf Igor Fedorenko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: