Add the new Sonatype URL by dondonz · Pull Request #4009 · graphql-java/graphql-java
Part 2 of #3956
Sonatype is changing their publishing API. We have to do 2 things before 30 June 2025, the first was to register our namespace (already done), the second is to switch over to the new URL (this PR).
Note: new auth tokens should be added before merging in this PR.
Sonatype documentation: https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration. Cross-referenced with Gradle publish plugin documentation https://github.com/gradle-nexus/publish-plugin/blob/master/README.md#publishing-to-maven-central-via-sonatype-central
From the documentation:
If you previously published via an OSSRH server, you will need to replace your OSSRH token with a Portal token. Publishing with an OSSRH token will result in 401 responses.