slachiewicz commented on PR #14104: URL: https://github.com/apache/maven/pull/14104#issuecomment-7214224888
The alias case is already covered: the publishing origins depend on the repositories declared for `central`, not on how the server is declared. The default repository `central` is part of the request (`DefaultMavenExecutionRequestPopulator` on 3.x, `DefaultSettingsBuilder` on 4.x), so an alias `central` gets the binding like a server `central`. A `central-publishing-maven-plugin` deploy through `<aliases><alias>central</alias></aliases>` succeeds on a 3.10.x build. Where 4.x settings define their own repositories, `central` has no origin either way, and the suggested `hasDefaultCentralRepo` would be false as well. The three `alt*DeploymentRepository` properties are now a parameterized test (fc66a781). -- 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]
