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

inconsistent classloading for extensions=true plugins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1, 3.2.5
    • 3.2.6, 3.3.1
    • Class Loading
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: