maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <>
Subject Re: Injecting custom ConflictResolver using Embedder
Date Wed, 07 Oct 2009 16:08:35 GMT
Do not cross post between the user and dev list.

On 2009-10-07, at 8:48 AM, Fabian Christ wrote:

> Hi,
> I'm doing some research on conflict resolving between Java components.
> Now I would like to use my own ConflictResolver during a Maven run.  
> I'm
> using Maven Embedder in my application and tried several ways on how  
> to
> manipulate the Plexus container to use my own ConflictResolver. I used
> the "customize" interface that is meant to manipulate the container on
> Embedder startup but an "addComponent" did not work as expected.
> Can someone give me a hint how to do that? I know the Wiki page at [1]
> that suggests to manipulate the POM to configure the ConflictResolver
> that should be used. But I'm working with Embedder and I can not  
> change
> the POMs. I would like to inject my ConflictResolver as the default
> resolver when the Embedder is created. But how?
> Thank you,
> Fabian
> [1]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:



Jason van Zyl
Founder,  Apache Maven

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message