You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bernd Vogt (JIRA)" <ji...@codehaus.org> on 2012/08/23 14:51:21 UTC
[jira] (MNG-5335) ComponentLookupException on lookup of
SettingsDecrypter from a Maven extension or plugin
Bernd Vogt created MNG-5335:
-------------------------------
Summary: ComponentLookupException on lookup of SettingsDecrypter from a Maven extension or plugin
Key: MNG-5335
URL: https://jira.codehaus.org/browse/MNG-5335
Project: Maven 2 & 3
Issue Type: Bug
Components: Class Loading
Affects Versions: 3.0.4
Reporter: Bernd Vogt
Attachments: settings-decrypter-test.zip
Problem:
Got a {{ComponentLookupException}} when trying to lookup {{org.apache.maven.settings.crypto.SettingsDecrypter}} from a Maven extension or plugin. Note: The problem only occurs when the extension has the plexus-sec-dispatcher.jar on its own class realm (because of the self-first strategy of the class realms).
Cause:
The component {{org.apache.maven.settings.crypto.DefaultSettingsDecrypter}} requires an instance of {{org.sonatype.plexus.components.sec.dispatcher.SecDispatcher}}, but {{org.sonatype.plexus.components.**}} is not part of the "Maven API" and cannot be reached via the {{maven.api}} class realm.
See attached test project for further details.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira