[ http://jira.codehaus.org/browse/MNG-2280?page=comments#action_64864 ]
Torsten Curdt commented on MNG-2280: ------------------------------------ So what does the <plugin><inherited> do? Well, I have already submitted fixes for the other plugins to fix the aggregation for multi-project poms ...and then I wanted to the same for the project info plugin. But for that plugin it is not aggregation. See what I mean? For jci I want be able to define the project info report on the parent pom but not have it executed for the childs. That's why I thought aggregation is not the right term. At least for the project info plugin the best thing would to be able to prohibit the inheritance to the child poms. That's what I really would want to have. More control of the inheritance. And I think this does make sense - but AFAIU it is not possible. So the work-around is that the plugin gets called but gets ignored so it acts as it was not in the child pom ....that's why I was talking about inheritance - of course that clashed with <plugin><inherited> ..whatever that means exactly in the current implementation. Another approach would be to re-think the project info plugin ....so basically provide 3 modes of operation. 1 - separate reports per pom, 2 - aggregate the information of all poms into one, 3 - only execute the one of the parent pom (or not inheriting) But no matter what - I think an AbstractAggregatingMavenReport class would make sense. It's already a bit of code doublication getting all the source directories etc. in each plugin. > Make inheritance of reports configurable > ---------------------------------------- > > Key: MNG-2280 > URL: http://jira.codehaus.org/browse/MNG-2280 > Project: Maven 2 > Type: Improvement > Reporter: Torsten Curdt > Attachments: multiproject.diff > > > This makes it possible to configure inheriance of reports. > <configure> > <inherit>false</inherit> > ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
