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]