FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add the new Sonatype URL by dondonz · Pull Request #4009 · graphql-java/graphql-java · GitHub

Add the new Sonatype URL - #4009

Merged
andimarek merged 2 commits into
masterfrom
New-Sonatype-publish-URL
Jun 15, 2025
Merged

Add the new Sonatype URL#4009
andimarek merged 2 commits into
masterfrom
New-Sonatype-publish-URL

Conversation

dondonz commented Jun 10, 2025

Copy link
Copy Markdown
Member

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.

Comment thread build.gradle
// https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
// GraphQL Java does not publish snapshots, but adding this URL for completeness
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

We didn't need to specify these URLs before, because we were using the default (and soon to be sunsetted) URLs

github-actions Bot commented Jun 10, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Test Results

  318 files    318 suites   2m 30s ⏱️
4 686 tests 4 677 ✅ 9 💤 0 ❌
4 775 runs  4 766 ✅ 9 💤 0 ❌

Results for commit 48c8941.

♻️ This comment has been updated with latest results.

andimarek merged commit 2dc43f7 into master Jun 15, 2025
dondonz added this to the 25.x breaking changes milestone Jul 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL