Yep, I think it works :)
That's way easier instead of having to set it in all the submodules.
Raphaël Piéroni wrote:
Hi Maria,
First thanks for your answer.
Do you know if it is possible to define the reportSet to
empty in the A project and have it inherited in B,C,D ?
As the organisation-pom defines a lot of unusefull reports :-(
Raphaël
2007/3/13, Maria Odea Ching <[EMAIL PROTECTED]>:
Hi Rafael,
Try setting the <reportSet> to blank in your submodules.
Example, in your organisation-pom, you have the javadoc plugin in the
<reporting>
section, like this:
<reporting>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</reporting>
exactly
Try, doing this in your submodules B,C and D:
<reporting>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet></reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
When you execute mvn site, you will see that javadocs are no
longer generated in the submodules. The only lowdown here is
you have to do this in ALL the submodules were you want to
exclude the report.
Hope this helps! :-)
Thanks,
Deng
Raphaël Piéroni wrote:
> Hi.
>
> What is the proper way to cut the inheritance of reports ?
>
> Say i have a project A with modules B,C,D.
> The project A depends on it's parent say organisation-pom
> which defines the reporting section with a set of reports.
>
> Some of these reports are not revelant to the projects B,C,D.
>
> I would like to cut the inheritance of the reporting section from
> the organisation-pom. But is still need scm information from that pom.
> And i also can not change the organisation-pom.
>
> Thanks in advance for any help.
>
>
> Raphaël
>
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
!DSPAM:602,45f69d10276281385410434!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]