You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kevin Stembridge <ke...@gmail.com> on 2007/11/18 16:09:08 UTC

How do I stop a plugin from being inherited by child modules?

Hi folks,
If I define a plugin in a parent pom, how do I prevent it from being
inherited and run by child modules? 
Is this something that depends on the plugin itself or is there a Maven
configuration property?

Cheers,
Kevin

Re: How do I stop a plugin from being inherited by child modules?

Posted by Wayne Fay <wa...@gmail.com>.
Adding <inherited>false</inherited> to the plugin declaration should
take care of this for you.

Wayne

On 11/18/07, Kevin Stembridge <ke...@gmail.com> wrote:
> Hi folks,
> If I define a plugin in a parent pom, how do I prevent it from being
> inherited and run by child modules?
> Is this something that depends on the plugin itself or is there a Maven
> configuration property?
>
> Cheers,
> Kevin
>

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