As said these modules do not share the same parent. The reporting section is 
big >100 lines and I do not want to copy to 50 other files unless I have to.




________________________________
From: David Hoffer <[email protected]>
To: Maven Users List <[email protected]>
Sent: Tuesday, August 11, 2009 12:05:29 PM
Subject: Re: Sharing reporting section across multiple modules

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]
>
>



      

Reply via email to