arturobernalg opened a new pull request, #14140: URL: https://github.com/apache/maven/pull/14140
Backport of #14139 to maven-4.0.x. On 4.0.0-rc-7, `central` comes from the project's request repositories rather than the super POM, so a wildcard mirror (`mirrorOf=*` or `external:*`) can map it and a POM-declared snapshots-only repository to the same mirror id. `createArtifactRepositories` treated that as a plain id collision and silently dropped one side before the effective policies were merged, so release artifacts stopped resolving for a project declaring such a repository, for example one using the Apache parent POM's `apache.snapshots` repository. Same fix and test as #14139, adapted to maven-4.0.x (which has one unrelated extra check in this method for uninterpolated property expressions). Fixes #14135 -- 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]
