maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Fedorenko (JIRA)" <>
Subject [jira] (MNG-5742) inconsistent classloading for extensions=true plugins
Date Fri, 26 Dec 2014 22:14:10 GMT


Igor Fedorenko closed MNG-5742.

    Resolution: Fixed;a=commit;h=6ab41ee8d3f82af456031b13d3a3e1d5834043dc

> inconsistent classloading for extensions=true plugins
> -----------------------------------------------------
>                 Key: MNG-5742
>                 URL:
>             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

View raw message