Skip to content

AI-250: Switch Sonatype publishing to Central Portal#11

Merged
gclaro-idme merged 1 commit into
masterfrom
AI-250/central-portal-publishing
Apr 15, 2026
Merged

AI-250: Switch Sonatype publishing to Central Portal#11
gclaro-idme merged 1 commit into
masterfrom
AI-250/central-portal-publishing

Conversation

@omerazmon-idme
Copy link
Copy Markdown
Contributor

Summary

  • Switch Maven Central publishing URLs from legacy OSSRH (s01.oss.sonatype.org) to Central Portal (ossrh-staging-api.central.sonatype.com)
  • The com.idmelabs.auth namespace is registered on the new Central Portal, causing HTTP 402 failures when publishing via the legacy endpoint

Firewall allowlist

The following hosts need to be allowed on HTTPS (443):

  • ossrh-staging-api.central.sonatype.com — staging API (upload, close, release)
  • central.sonatype.com — snapshots and portal

Test plan

  • Verify SONATYPE_USERNAME and SONATYPE_PASSWORD secrets are Central Portal user tokens (generate at https://central.sonatype.com/account)
  • Verify SIGNING_PASSWORD secret is set (currently empty in CI)
  • Verify firewall allows ossrh-staging-api.central.sonatype.com on HTTPS
  • Run release workflow and confirm Sonatype staging step passes

🤖 Generated with Claude Code

The namespace com.idmelabs.auth is registered on the new Central Portal
(central.sonatype.com), not legacy OSSRH (s01.oss.sonatype.org), causing
HTTP 402 on staging profile initialization.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: omerazmon-idme <omer.azmon@id.me>
@omerazmon-idme omerazmon-idme requested review from a team as code owners April 15, 2026 20:35
@omerazmon-idme omerazmon-idme self-assigned this Apr 15, 2026
@service-idme-github
Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@gclaro-idme gclaro-idme merged commit 91b6509 into master Apr 15, 2026
2 checks passed
@gclaro-idme gclaro-idme deleted the AI-250/central-portal-publishing branch April 15, 2026 21:04
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.

3 participants