efegokdemir commented on code in PR #2192:
URL: https://github.com/apache/maven-resolver/pull/2192#discussion_r4224014133
##########
maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/DefaultArtifactResolver.java:
##########
@@ -275,6 +275,9 @@ private List<ArtifactResult> resolve(
List<RemoteRepository> filteredRemoteRepositories = new
ArrayList<>(remoteRepositories);
if (filter != null) {
for (RemoteRepository repository : remoteRepositories)
{
+ if
(!repository.getPolicy(artifact.isSnapshot()).isEnabled()) {
+ continue;
+ }
Review Comment:
Fixed in `73a3297`. Disabled repositories are now removed from the
candidates passed to local artifact lookup, and the regression checks that
list. The focused reactor test passed (27 tests); Checkstyle and `git diff
--check` pass. Spotless could not run because its Palantir formatter is
incompatible with the available Java 27 runtime. The requested 1.9.x backport
label is not present; creating it returned HTTP 404, so a repository maintainer
will need to create/apply it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]