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 + +