mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-20 08:14:44 +01:00
corrected the order of operations so that report aggregation can include the last module
Former-commit-id: 4169dedceee6f35c5357ee9841e94123acec575d
This commit is contained in:
@@ -277,18 +277,17 @@ public abstract class ReportAggregationMojo extends AbstractMojo implements Mave
|
|||||||
if (canGenerateNonAggregateReport()) {
|
if (canGenerateNonAggregateReport()) {
|
||||||
executeNonAggregateReport(locale);
|
executeNonAggregateReport(locale);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (canGenerateAggregateReport()) {
|
|
||||||
for (MavenProject proj : reactorProjects) {
|
|
||||||
if (!isMultiModule(proj)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
executeAggregateReport(proj, locale);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} finally {
|
} finally {
|
||||||
postGenerate();
|
postGenerate();
|
||||||
}
|
}
|
||||||
|
if (canGenerateAggregateReport()) {
|
||||||
|
for (MavenProject proj : reactorProjects) {
|
||||||
|
if (!isMultiModule(proj)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
executeAggregateReport(proj, locale);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user