[ http://jira.codehaus.org/browse/MNG-1665?page=comments#action_61242 ] 

Milos Kleint commented on MNG-1665:
-----------------------------------

Mark, I'm not sure I understand your patch. What would I do in the subclass' 
lookupComponent() method?
I don't need just to tweak the component instances in the MavenEmbedder, but 
globally. Meaning whenever ArtifactResolver is created/injected into some other 
component, I want it to be my custom impl. for that I think a custom 
components.xml setting is necessary.



> allow changing plexus components implementations dynamically through embedder
> -----------------------------------------------------------------------------
>
>          Key: MNG-1665
>          URL: http://jira.codehaus.org/browse/MNG-1665
>      Project: Maven 2
>         Type: New Feature

>   Components: Embedding
>     Reporter: Milos Kleint
>  Attachments: custom-config.patch
>
>
> when running in the IDE one might have special requirements on Artifact 
> resolution, handling, output handling or any other aspect of the maven 
> environment.
> it would be nice to be able to replace the default implementations with 
> custom ones for that matter. The most natural place seems to be the embedder 
> class.
> example usecase.
> When resolving dependencies for a project (even transitively), I would like 
> 1. to know what deps were not resolved correctly, 2. avoid downloading the 
> dependencies at certain times.

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