You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/09/11 21:17:31 UTC
[jira] Created: (MNG-4356) [regression] Active component maps with
stateful per-lookup components broken
[regression] Active component maps with stateful per-lookup components broken
-----------------------------------------------------------------------------
Key: MNG-4356
URL: http://jira.codehaus.org/browse/MNG-4356
Project: Maven 2
Issue Type: Bug
Components: Plugins and Lifecycle
Affects Versions: 3.0-alpha-3
Reporter: Benjamin Bentmann
The {{DefaultResourceManager}} from {{plexus-resources:1.0-alpha-5}} holds a map of injected resource loaders. The resource loaders are stateful (for configuration purposes) and as such use per-lookup as their instantiation strategy. The configuration of the resource loaders is however lost because the container always looks up a new/different component when accessing the active component map (see PLX-434). This makes for instance the maven-remote-resources-plugin fail with Maven 3.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-4356) [regression] Active component maps with
stateful per-lookup components broken
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4356.
----------------------------------
Assignee: Benjamin Bentmann
Resolution: Fixed
Fix Version/s: 3.0-alpha-3
Fixed by updating to plexus-container-default:1.2.1+
> [regression] Active component maps with stateful per-lookup components broken
> -----------------------------------------------------------------------------
>
> Key: MNG-4356
> URL: http://jira.codehaus.org/browse/MNG-4356
> Project: Maven 2
> Issue Type: Bug
> Components: Plugins and Lifecycle
> Affects Versions: 3.0-alpha-3
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: 3.0-alpha-3
>
>
> The {{DefaultResourceManager}} from {{plexus-resources:1.0-alpha-5}} holds a map of injected resource loaders. The resource loaders are stateful (for configuration purposes) and as such use per-lookup as their instantiation strategy. The configuration of the resource loaders is however lost because the container always looks up a new/different component when accessing the active component map (see PLX-434). This makes for instance the maven-remote-resources-plugin fail with Maven 3.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira