diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 04aa466..17fa572 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,7 +31,7 @@ jobs: with: java-version: 21 distribution: 'temurin' - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.JRELEASER_GPG_SECRET_KEY }} diff --git a/pom.xml b/pom.xml index 3a40bb5..769092e 100644 --- a/pom.xml +++ b/pom.xml @@ -46,14 +46,6 @@ https://github.com/extism/java-sdk/issues - - - ossrh - Central Repository OSSRH - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - 11 UTF-8 @@ -75,12 +67,6 @@ release - - - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots - - @@ -128,13 +114,14 @@ - org.sonatype.plugins - nexus-staging-maven-plugin + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 true - ossrh - https://s01.oss.sonatype.org/ - true + central + true + published @@ -145,13 +132,14 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 true - ossrh - https://s01.oss.sonatype.org/ + central + true + published