You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org> on 2007/01/16 02:48:40 UTC
[jira] Created: (MNG-2778) Allow access to the underlying plexus
container from MavenEmbedder
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
[jira] Commented: (MNG-2778) Allow access to the underlying plexus
container from MavenEmbedder
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (MNG-2778) Allow access to the underlying plexus
container from MavenEmbedder
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-2778:
------------------------------
Fix Version/s: 3.0-alpha-1
> 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
> Assignee: Jason van Zyl
> Fix For: 3.0-alpha-1
>
>
> 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
[jira] Closed: (MNG-2778) Allow access to the underlying plexus
container from MavenEmbedder
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ 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