From 8042524dabfc1cd199a1cd34bfd0be48f7cb89f0 Mon Sep 17 00:00:00 2001 From: Rundeck CI Date: Fri, 10 Jul 2026 11:10:46 -0700 Subject: [PATCH] RUN-4569 Fix Maven Central publishing endpoint Point nexusPublishing at the new Central endpoint instead of the decommissioned oss.sonatype.org, which returns 402 and blocks the release publish. --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e3d291a..74d8df7 100644 --- a/build.gradle +++ b/build.gradle @@ -124,7 +124,10 @@ jar { nexusPublishing { packageGroup = 'org.rundeck.plugins' repositories { - sonatype() + sonatype { + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) + } } }