slachiewicz opened a new pull request, #14102: URL: https://github.com/apache/maven/pull/14102
Two changes for 3.9.17, one commit each. The default of `maven.repository.credentialScope` becomes a new value, `warn`: credentials are matched by server id as in 3.9.16, and a warning names every repository where the `origin` scope of Maven 3.10 would withhold them. `origin` and `strict` are opt-in. With `origin` as the default, a patch release would fail deployments that worked on 3.9.16. The id `central` is also bound to the origins Central is published to, `https://central.sonatype.com` and `https://ossrh-staging-api.central.sonatype.com`, as long as the built-in location of the default repository is its only origin, so the `warn` default stays silent for the common publishing setup and `origin` works with it. This is the 3.9.x port of the `maven-3.10.x` change. Verified: `mvn deploy` with `central-publishing-maven-plugin` 0.12.0 and a settings server `central`, against a local stand-in for `central.sonatype.com` → 401 on 3.9.17-SNAPSHOT before, deployed with no warning after; a server bound to another origin → deployed with the new warning by default, 401 with `-Dmaven.repository.credentialScope=origin`. I have not run the core ITs. -- 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]
