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:36:40 UTC

[jira] Created: (MNG-2777) Allow components to be replaced in Embedder

Allow components to be replaced in Embedder
-------------------------------------------

                 Key: MNG-2777
                 URL: http://jira.codehaus.org/browse/MNG-2777
             Project: Maven 2
          Issue Type: Improvement
          Components: Embedding
    Affects Versions: 2.0.4
            Reporter: Kohsuke Kawaguchi


I'd like to replace some default components defined in core maven jars by my own when I run Maven inside my application.
Today, I can't do this reliably because the MavenEmbedder immediately calls Embedder.start() after a new Embedder instance
is created in the MavenEmbedder.start() method.

It would be nice if MavenEmbedder introduces a protected method for creating Embedder instance, so that I have a chance
to touch Embedder before it's started.

-- 
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-2777) Allow components to be replaced in Embedder

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2777?page=all ]

Jason van Zyl closed MNG-2777.
------------------------------

    Resolution: Fixed

The can be look on trunk.

> Allow components to be replaced in Embedder
> -------------------------------------------
>
>                 Key: MNG-2777
>                 URL: http://jira.codehaus.org/browse/MNG-2777
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Embedding
>    Affects Versions: 2.0.4
>            Reporter: Kohsuke Kawaguchi
>
> I'd like to replace some default components defined in core maven jars by my own when I run Maven inside my application.
> Today, I can't do this reliably because the MavenEmbedder immediately calls Embedder.start() after a new Embedder instance
> is created in the MavenEmbedder.start() method.
> It would be nice if MavenEmbedder introduces a protected method for creating Embedder instance, so that I have a chance
> to touch Embedder before it's started.

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