Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Sonatype Central Portal #13

Merged
merged 1 commit into from
Mar 27, 2025
Merged

Migrate to Sonatype Central Portal #13

merged 1 commit into from
Mar 27, 2025

Conversation

gastaldi
Copy link
Member

This migrates from OSSRH (s01.oss.sonatype.org) to Central Portal

Verified

This commit was signed with the committer’s verified signature.
gastaldi George Gastaldi
This migrates from OSSRH (s01.oss.sonatype.org) to Central Portal
@gastaldi gastaldi merged commit b0943fe into main Mar 27, 2025
@gastaldi gastaldi deleted the maven_central branch March 27, 2025 20:09
@gastaldi
Copy link
Member Author

gastaldi commented Mar 27, 2025

@aalmiray
Copy link

Did you register a new username/token for the Portal API? Is the quarkiverse namespace associated with the new username?

@aalmiray
Copy link

FWIW snapshot support for the mavenCentral deployer does not work at all at the moment. Long story short it turns out a different API is required to publish snapshot releases.

@gastaldi
Copy link
Member Author

Ah, I forgot that step, perhaps it is worth mentioning it in the https://jreleaser.org/guide/latest/reference/deploy/maven/maven-central.html docs. Thanks!

@gastaldi
Copy link
Member Author

FWIW snapshot support for the mavenCentral deployer does not work at all at the moment. Long story short it turns out a different API is required to publish snapshot releases.

Hm, that's a problem because once you migrate to the Portal, you can't go back to OSSRH. Any timeframe when a fix is provided?

@aalmiray
Copy link

aalmiray commented Mar 27, 2025

It’s possible to publish snapshots but the solution is weird at the moment. For some reason, Sonatype decided to support snapshot deployments using a nexus2 instance whose endpoint is described at https://central.sonatype.org/publish/publish-portal-snapshots/#publishing-via-other-methods

Technically you’d configure a mavenCentral deployer for stable releases and a nexus2 deployer for snapshot releases. I know, this is confusing, and thus we’ll find a way to configure just one deployer, mavenCentral, and route the calls to the corresponding deployer under the covers.

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.

Migrate to mavenCentral deployer
2 participants