Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lprimak committed Dec 21, 2024
1 parent 556b323 commit e98f1d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ private Collection<ArtifactResult> resolveProjectLocal(final List<MavenDependenc
.setDependencyNode(new DefaultDependencyNode(
new Dependency(artifact, dependency.getScope().name(), dependency.isOptional()))));
result.setArtifact(artifact);
consumerPomFound.set(true);
projectLocalDependencies.add(result);
}
}
Expand Down Expand Up @@ -262,6 +261,7 @@ private void processAdditionalDependencies(Path projectLocalRepository, String g
}

if (consumerPom.exists()) {
consumerPomFound.set(true);
Set<MavenDependency> transitiveDependencies = loadPomFromFile(consumerPom).getParsedPomFile().getDependencies();
transitiveDependencies.removeAll(additionalDependencies);
if (!transitiveDependencies.isEmpty()) {
Expand Down

0 comments on commit e98f1d1

Please sign in to comment.