[ https://jira.codehaus.org/browse/MNG-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Fedorenko closed MNG-5742. ------------------------------- Resolution: Fixed Reworked the code to use the same class realm to load both core extensions components and plugin mojos. The fix https://git-wip-us.apache.org/repos/asf?p=maven.git;a=commit;h=1420d61c05f0719ff59417430906954a4cc58ff6 Corresponding integration test https://git-wip-us.apache.org/repos/asf?p=maven-integration-testing.git;a=commit;h=d4a340e6202d486c57adc2019924c03e28ffc975 > 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.1, 3.2.5 > Reporter: Igor Fedorenko > Assignee: Igor Fedorenko > Fix For: 3.2.6 > > > 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)