Skip to content

Fix publishing to OSSRH#484

Merged
AntonKanug merged 4 commits intoenvoyproxy:mainfrom
ovadiagal:gova/fix-publishing
Mar 3, 2026
Merged

Fix publishing to OSSRH#484
AntonKanug merged 4 commits intoenvoyproxy:mainfrom
ovadiagal:gova/fix-publishing

Conversation

@ovadiagal
Copy link
Contributor

@ovadiagal ovadiagal commented Mar 1, 2026

Publishing for java-control-plane is currently broken. Although CI runs and correctly pulls new proto definitions, the publish step is failing because OSSRH is no longer available

Regarding OSSRH sunset:

As of June 30, 2025 OSSRH has reached end of life and has been shut down. All OSSRH namespaces have been migrated to Central Publisher Portal.

If you published via OSSRH, you will need to update your publishing process to accommodate the Publisher Portal. If it meets your use-case, the fastest way to continue publishing is the OSSRH Staging API Service (a compatibility service that translates a subset of the Nexus 2 APIs to the Portal API). If you choose this route, you will need to generate a Portal user token to replace your OSSRH user token, point your plugin at the new service's URL, and potentially add calls to manual endpoints to your build if you are using a "Maven-like" API (e.g. Gradle's default maven-publish plugin).

@ovadiagal ovadiagal force-pushed the gova/fix-publishing branch from 23a86d3 to 18b420c Compare March 3, 2026 14:53
Signed-off-by: Gal Ovadia <govadia@palantir.com>
Signed-off-by: Gal Ovadia <ggalovadia@gmail.com>
@ovadiagal ovadiagal force-pushed the gova/fix-publishing branch from 18b420c to ef01b8c Compare March 3, 2026 14:55
Signed-off-by: Gal Ovadia <govadia@palantir.com>
Signed-off-by: Gal Ovadia <ggalovadia@gmail.com>
Signed-off-by: Gal Ovadia <ggalovadia@gmail.com>
Comment on lines 20 to 22
<id>sonatype-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
<layout>default</layout>
Copy link
Contributor Author

@ovadiagal ovadiagal Mar 3, 2026

Choose a reason for hiding this comment

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

Comment on lines 107 to +108
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

from this example, the new snapshot url is central.sonatype.com/repository/maven-snapshots:

sonatype {
    nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
    snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
}

Comment on lines 15 to +16
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

same as here

@ovadiagal ovadiagal marked this pull request as ready for review March 3, 2026 15:26
@AntonKanug AntonKanug merged commit 5af8f2c into envoyproxy:main Mar 3, 2026
2 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.

2 participants