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/20 20:49:27 UTC

[jira] Commented: (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:comment-tabpanel#action_88077 ] 

Jason van Zyl commented on MNG-2778:
------------------------------------

What additional functionality do you need. I'm hesitant to expose the container for general use.

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