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

        

Reply via email to