Skip to content

Commit

Permalink
Collect poms with LinkedHashSet.
Browse files Browse the repository at this point in the history
fixes #351
  • Loading branch information
traceyyoshima committed May 6, 2022
1 parent edb4019 commit d720b7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public Xml.Document parseMaven(ExecutionContext ctx) {
return null;
}

Set<Path> allPoms = collectPoms(mavenProject, new HashSet<>());
Set<Path> allPoms = collectPoms(mavenProject, new LinkedHashSet<>());
mavenSession.getProjectDependencyGraph().getUpstreamProjects(mavenProject, true).forEach(p -> collectPoms(p, allPoms));
MavenParser.Builder mavenParserBuilder = MavenParser.builder().mavenConfig(baseDir.resolve(".mvn/maven.config"));

Expand Down Expand Up @@ -173,7 +173,7 @@ public Xml.Document parseMaven(ExecutionContext ctx) {
maven = maven.withMarkers(maven.getMarkers().addIfAbsent(marker));
}

return maven;
return maven;
}

/**
Expand Down

0 comments on commit d720b7c

Please sign in to comment.