For now, you can't. You need to put the plugin into the poms of the projects where you want it to run.

Rémy Sanlaville 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]

Reply via email to