Incorrect implementation of org.codehaus.mojo.versions.CompareDependenciesMojo#getRemoteMavenProject method #1067
Closed
Description
CompareDependenciesMojo.java
Lines 260 - 266
ProjectBuildingResult result = projectBuilder.build(
remoteArtifact,
true,
PomHelper.createProjectBuilderRequest(
session,
r -> r.setProcessPlugins(false),
r -> r.setRemoteRepositories(session.getCurrentProject().getPluginArtifactRepositories())));
As far as I understand the last line should be:
r -> r.setRemoteRepositories(session.getCurrentProject().getRemoteArtifactRepositories())));