From cbee21e44b643672fc75df7c199041e2548bdff9 Mon Sep 17 00:00:00 2001 From: Pratyush Sharma <56130065+pratyush618@users.noreply.github.com> Date: Sun, 29 Mar 2026 21:41:30 +0530 Subject: [PATCH] fix(ci): migrate from legacy OSSRH to Central Portal publishing --- .github/workflows/release.yml | 2 +- agenteval-bom/pom.xml | 22 +++++++++++----------- pom.xml | 22 +++++++++++----------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be41362..d222fae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: java-version: '21' distribution: temurin cache: maven - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/agenteval-bom/pom.xml b/agenteval-bom/pom.xml index c9992fd..7e5d70f 100644 --- a/agenteval-bom/pom.xml +++ b/agenteval-bom/pom.xml @@ -34,17 +34,6 @@ - - - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - release @@ -64,6 +53,17 @@ + + org.sonatype.central + central-publishing-maven-plugin + 0.9.0 + true + + central + true + published + + diff --git a/pom.xml b/pom.xml index 58e740d..50c8371 100644 --- a/pom.xml +++ b/pom.xml @@ -79,17 +79,6 @@ - - - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - @@ -436,6 +425,17 @@ + + org.sonatype.central + central-publishing-maven-plugin + 0.9.0 + true + + central + true + published + +