You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2007/02/28 19:34:45 UTC
[jira] Closed: (MNG-2778) Allow access to the underlying plexus
container from MavenEmbedder
[ http://jira.codehaus.org/browse/MNG-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MNG-2778.
------------------------------
Resolution: Fixed
At the bottom of this examples class:
http://svn.apache.org/repos/asf/maven/components/trunk/maven-embedder/src/test/java/org/apache/maven/embedder/MavenEmbedderExampleTest.java
> Allow access to the underlying plexus container from MavenEmbedder
> ------------------------------------------------------------------
>
> Key: MNG-2778
> URL: http://jira.codehaus.org/browse/MNG-2778
> Project: Maven 2
> Issue Type: Improvement
> Components: Embedding
> Affects Versions: 2.0.4
> Reporter: Kohsuke Kawaguchi
> Assigned To: Jason van Zyl
>
> When embedding Maven into applications, it's often convenient to be able to look up components inside Maven from the applications.
> This can be easily be done if MavenEmbedder lets me access PlexusContainer, like this:
> /**
> * Gets the {@link PlexusContainer} that hosts Maven.
> */
> public PlexusContainer getContainer() {
> return embedder.getContainer();
> }
--
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