[ http://jira.codehaus.org/browse/MNG-226?page=comments#action_32126 ] John Casey commented on MNG-226: --------------------------------
This issue is blocked by the same problem which caused problems with the assembly plugin, namely that class realms are getting mixed up. One plugin loads a component, and that component stays in the container even after that plugin is finished executing. Then, a second plugin comes along with a requirement on the same (pre-loaded this time) component. This time, the container uses the component defined from the last plugin's execution, which means that the current plugin and the component which has been wired to it have incompatible class realms. The specific case for scripting language support means that the component factory doesn't have access to the scripts, taglibs, etc. which are defined in this current plugin, since it cannot use the classloader to discover scripting parts inside the plugin (the plugin and component-factory have sibling, and isolated, class realms). Until we have a better way of really sharing components inside of plexus, including shared classloading, etc. for loaded components, this will remain a problem. > need to be able to dynamically register providers for wagon, scm, scripting > --------------------------------------------------------------------------- > > Key: MNG-226 > URL: http://jira.codehaus.org/browse/MNG-226 > Project: m2 > Type: Bug > Components: design > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-2 > > > currently, only what is a dependency on the using plugin, or in maven2/lib is > used. Need to be able to add these on the fly - perhaps this is a plexus > artifact container thing that can register certain roles with > groupID/artifactId patterns so a hint of "file" can always go and get > wagon-file? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
