artemmukhin commented on PR #14139: URL: https://github.com/apache/maven/pull/14139#issuecomment-7197162260
Thank you for the quick fix. Can it also go to `maven-4.0.x`? The bug is in 4.0.0-rc-7, and `DefaultProjectBuildingHelper.createArtifactRepositories` on `maven-4.0.x` has the same code as on `master`. Without a backport, 4.0.0 resolves no releases for a project that declares a snapshots-only repository behind a `*` or `external:*` mirror, for example a project with the Apache parent POM (`apache.snapshots`). I also checked the fix against the real pipeline, not only the unit test: the request repositories get `mirroredRepositories` from `LegacyRepositorySystemSessionExtender.injectMirror`, so the new condition applies in a normal build too. -- 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]
