corrected the order of operations so that report aggregation can include the last module

Former-commit-id: 4169dedceee6f35c5357ee9841e94123acec575d
This commit is contained in:
Jeremy Long
2014-12-01 06:51:57 -05:00
parent 70a8fc09c6
commit ac98c8e395

View File

@@ -277,18 +277,17 @@ public abstract class ReportAggregationMojo extends AbstractMojo implements Mave
if (canGenerateNonAggregateReport()) {
executeNonAggregateReport(locale);
}
if (canGenerateAggregateReport()) {
for (MavenProject proj : reactorProjects) {
if (!isMultiModule(proj)) {
continue;
}
executeAggregateReport(proj, locale);
}
}
} finally {
postGenerate();
}
if (canGenerateAggregateReport()) {
for (MavenProject proj : reactorProjects) {
if (!isMultiModule(proj)) {
continue;
}
executeAggregateReport(proj, locale);
}
}
}
/**