Skip to content

Incorrect implementation of org.codehaus.mojo.versions.CompareDependenciesMojo#getRemoteMavenProject method #1067

Closed
@rimvydasv

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())));

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions