Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0-beta-3
-
Fix Version/s: None
-
Component/s: inheritance, Maven 3
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
as discovered in MSITE-595:
- with M2, each report is added: child has 2 reports generated = index+summary
- with M3, each report replaces previous one: child has 1 report = summary
What is the expected behaviour? I'd say M2 is buggy, since POM inheritance logic usually replaces instead adding
Should we try to stick with M2 behaviour? (if feasible, I still didn't check)
to have the same behaviour in M3 than in M2, we need a new Maven version: see ModelMerger#mergeReporting_Plugins() which is not overrided in MavenModelMerger
and of course, this can't be done in the new format, since inheritance is not supported at all