Put in parent pom. That works for sure if you have a multi-module project.
-Dave On Tue, Aug 11, 2009 at 12:55 PM, ksangani <[email protected]> wrote: > > I have multiple maven modules for which I am generating site. For all > modules > <reporting> section is the same. Is there any way to share the reporting > section across multiple modules without copying it? These modules are > independent and do not share the same parent. > > I tried the following which does not work > > 1. Create a profile in settings.xml for <reporting> and use that profile > when building site. This does not work as profiles under settings.xml can > not use <reporting> > > -- > View this message in context: > http://www.nabble.com/Sharing-reporting-section-across-multiple-modules-tp24923662p24923662.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] > >
