Hi Laird, I guess this is what you are looking for - http://thomaswabner.wordpress.com/2010/02/16/howto-disable-inherited-maven-plugin/
<http://thomaswabner.wordpress.com/2010/02/16/howto-disable-inherited-maven-plugin/> Regards, Srinath. On Tue, May 3, 2011 at 10:54 PM, Laird Nelson <[email protected]> wrote: > Rats; thanks. I have to inherit from this parent, but the parent was badly > designed (and is out of my control). It wants to run the > maven-antrun-plugin, but I don't need a build.xml file. I suppose I'll > just > eliminate the build.xml file and let it fly and see if it handles such a > case gracefully. > > Best, > Laird > > On Tue, May 3, 2011 at 1:03 PM, Wendy Smoak <[email protected]> wrote: > > > On Tue, May 3, 2011 at 1:01 PM, Laird Nelson <[email protected]> wrote: > > > I have a parent pom that has a plugin specified in its build section. > > The > > > plugin is bound to the package phase. > > > > > > In my child POM, I would like to somehow configure the child project so > > that > > > this plugin does NOT run. > > > > It would help to know which plugin. Check to see if it has a "skip" > > parameter that you can configure in the child. > > > > Otherwise, you can't really "un-inherit" things. > > > > -- > > Wendy > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
