Hi, I have a multi-module project and I'm trying to run the site plugin to generate a site for the project. But I would like to generate the site ONLY for the top level (aggregator) project. Each of my child projects are aggregated AND they are children of the top-level project because they have <parent/> specified.
So when I run site:deploy (or site-deploy), the build runs for the top level project and then for EACH child project. I want it to run ONLY for the top level project. One way, I know to achieve this is to configure the site plug-in in each child project with an inherited=false. But that is a bit crummy. Does anyone know of a more elegant way to prevent the plug-in running for the child projects (in a reactor build) Also, it would be great if the solution were to apply to ANY plug-in, not just the site plug-in. Thanks Pankaj -- View this message in context: http://n2.nabble.com/Prevent-a-plugin-executing-for-each-module-in-a-multi-module-build-tp4077313p4077313.html Sent from the maven users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
