Skip to content

Commit f2f9033

Browse files
committed
fix(java): update sonartype repository URLs
OSSRH has been sunset: https://central.sonatype.org/news/20250326_ossrh_sunset/ Legacy plugins support via staging API: https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuring-your-plugin
1 parent b500c7c commit f2f9033

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

generator/java/resources/templates/build.gradle.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ nexusPublishing {
122122
packageGroup = '{{groupId}}'
123123
repositories {
124124
sonatype {
125+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
126+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
125127
username = "criteo-oss"
126128
password = System.getenv("SONATYPE_PASSWORD")
127129
}

0 commit comments

Comments
 (0)