Skip to content

Commit

Permalink
Collect poms with LinkedHashSet. (#354)
Browse files Browse the repository at this point in the history
fixes #351
  • Loading branch information
traceyyoshima authored May 6, 2022
1 parent edb4019 commit 8f45c20
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 8f45c20

Please sign in to comment.