Good day to you, Edwin, Thanks for the correction :-)
Cheers, Franz Edwin Punzalan wrote: > > Hi, franz. > > <inherited> is used inside parent poms... if you want to run the plugin > only in the parent pom and don't want modules to run them (through > inheritance). You don't put it inside your modules unless they > themselves have their own modules. > > > franz see wrote: >> Good day, >> >> Either this or declare <inherited>false</inherited> inside the plugin >> sections of those modules you don't want to do the goal. >> >> Cheers, >> Franz >> >> >> Stephane Nicoll-2 wrote: >> >>> you can specify this in a profile and activate it only when needed. >>> >>> Cheers, >>> Stéphane >>> >>> On 2/9/07, Rémy Sanlaville <[EMAIL PROTECTED]> wrote: >>> >>>> Hi, >>>> >>>> I wonder if it is possible to execute a plugin only for some >>>> sub-modules >>>> from the parent pom ? >>>> >>>> I have a multi-modules projects >>>> >>>> parent >>>> | >>>> |-- module A >>>> | >>>> |-- module B >>>> | >>>> |-- module C >>>> | >>>> |-- module ... >>>> | >>>> |-- pom.xml >>>> >>>> I want to generate a web site of my project but excluding one or two >>>> modules. It would by nice to >>>> share the reporting section in my parent pom and excluding these >>>> modules >>>> when executing mvn site. >>>> But I also want to take into account all the modules for others tasks >>>> (compile, package, install...). >>>> >>>> How can I do this ? >>>> >>>> Rémy >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Execute-only-in-the-parent-POM-and-some-sub-modules---tf3201453s177.html#a8917995 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
