Skip to content

fix(ci): Update Sonatype OSSRH URL to Central Portal staging API#457

Merged
thehungryturnip merged 1 commit into
masterfrom
fix/migrate-sonatype-central
Jul 9, 2026
Merged

fix(ci): Update Sonatype OSSRH URL to Central Portal staging API#457
thehungryturnip merged 1 commit into
masterfrom
fix/migrate-sonatype-central

Conversation

@thehungryturnip

Copy link
Copy Markdown
Contributor

The legacy aws.oss.sonatype.org endpoint has been shut down (OSSRH EOL June 2025). Update nexusUrl to use the Central Portal OSSRH Staging API compatibility shim at ossrh-staging-api.central.sonatype.com.

Note: GitHub secrets SONATYPE_USERNAME and SONATYPE_PASSWORD must be updated with a Central Portal user token generated at https://central.sonatype.com/account

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The legacy aws.oss.sonatype.org endpoint has been shut down (OSSRH EOL
June 2025). Update nexusUrl to use the Central Portal OSSRH Staging API
compatibility shim at ossrh-staging-api.central.sonatype.com.

Note: GitHub secrets SONATYPE_USERNAME and SONATYPE_PASSWORD must be
updated with a Central Portal user token generated at
https://central.sonatype.com/account
@thehungryturnip

Copy link
Copy Markdown
Contributor Author

Release failed with:

Error:  Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy (injected-nexus-deploy) on project aws-cloudformation-rpdk-java-plugin: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy failed: Nexus connection problem to URL [https://aws.oss.sonatype.org ]: 404 - Not Found -> [Help 1]

Migration documentation: https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#triaging-issues

@mrinaudo-aws mrinaudo-aws left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@thehungryturnip thehungryturnip merged commit ade28bd into master Jul 9, 2026
7 checks passed
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