Make sure mvnd does not build more projects than needed, fixes #464 (#465)

This commit is contained in:
Guillaume Nodet
2021-09-02 15:32:12 +02:00
committed by GitHub
parent ee49cb3414
commit 692df3ecea

View File

@@ -50,7 +50,7 @@ class ReactorBuildQueue {
this.rootProjects = new HashSet<>();
this.blockedProjects = new HashSet<>();
this.finishedProjects = new HashSet<>();
this.graph.getProjects().forEach(project -> {
projects.forEach(project -> {
this.projects.add(project);
if (this.graph.isRoot(project)) {
this.rootProjects.add(project);