You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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())));
The text was updated successfully, but these errors were encountered:
I think it's an obvious mistake. We would probably not see it in our integration tests since they use the same repo for plugins and artifacts. A separate it settings.xml could be created just for that, or some unit test specifically for this case, but is it is just an obvious error -- mea culpa.
andrzejj0
added a commit
to andrzejj0/versions-maven-plugin
that referenced
this issue
Oct 24, 2024
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())));
The text was updated successfully, but these errors were encountered: