[jira] (MNG-5742) inconsistent classloading for extensions=true plugins

2014-12-26 Thread Igor Fedorenko (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Fedorenko closed MNG-5742.
---

Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=maven.git;a=commit;h=6ab41ee8d3f82af456031b13d3a3e1d5834043dc

> 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)


[jira] (MNG-5742) inconsistent classloading for extensions=true plugins

2014-12-26 Thread Igor Fedorenko (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Fedorenko reopened MNG-5742:
-


MojoDescriptors of extensions plugins are not fully/correctly setup after this 
change.

> 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)


[jira] (MNG-5742) inconsistent classloading for extensions=true plugins

2014-12-25 Thread Igor Fedorenko (JIRA)

 [ 
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)


[jira] (MNG-5742) inconsistent classloading for extensions=true plugins

2014-12-24 Thread Igor Fedorenko (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Fedorenko updated MNG-5742:


Fix Version/s: 3.2.6

> 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)


[jira] (MNG-5742) inconsistent classloading for extensions=true plugins

2014-12-24 Thread Igor Fedorenko (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Fedorenko reassigned MNG-5742:
---

Assignee: Igor Fedorenko

> 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)


[jira] (MNG-5742) inconsistent classloading for extensions=true plugins

2014-12-24 Thread Igor Fedorenko (JIRA)
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)