Igor Fedorenko created MNG-5742: ----------------------------------- Summary: inconsistent classloading for extensions=true plugins Key: MNG-5742 URL: https://jira.codehaus.org/browse/MNG-5742 Project: Maven Issue Type: Bug Components: Class Loading Affects Versions: 3.2.5, 3.2.1 Reporter: Igor Fedorenko
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. -- This message was sent by Atlassian JIRA (v6.1.6#6162)