On 24 September 2008 09:36, 陈思淼 <[EMAIL PROTECTED]> wrote:

> I want to write a plugin which can display all the conflict dependences
> (the
> same groupId and artifactId but different version) in the dependences
> graph.Is
> the Maven-core provide this function?
> I want to define some strategy when some conflicts happen, the build
> process
> fail.
> can anybody tell me how to get this conflicts information in my plugin?
>

Failing the build is really a job for the enforcer plugin. I would write an
enforcer rule to enforce what you want and then add that rule to the
enforcer configuration

Reply via email to