Open rimvydasv opened 2 months ago
You can try to change implementation - and we see if ITs pass.
You can also add a specific IT which discover your problem.
We can also build set of getPluginArtifactRepositories
and getRemoteArtifactRepositories
and pass it as remote repositories
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())));