maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <ja...@sonatype.com>
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] http://docs.codehaus.org/display/MAVEN/Conflict+Resolvers
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message