diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86afc91..d0f98e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: with: java-version: '11' distribution: 'temurin' - server-id: maven-central-staging + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/pom.xml b/pom.xml index 6174e45..f38f95c 100644 --- a/pom.xml +++ b/pom.xml @@ -27,12 +27,10 @@ - maven-central-staging - https://oss.sonatype.org/service/local/staging/deploy/maven2 + central - maven-central-snapshots - https://oss.sonatype.org/content/repositories/snapshots + central @@ -184,14 +182,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 - false + org.sonatype.central + central-publishing-maven-plugin + 0.10.0 + true - maven-central-staging - https://oss.sonatype.org - + central + true @@ -199,6 +196,10 @@ 3.2.8 FB32919AB5830162299F4125C49AB890BA00B57D + + --pinentry-mode + loopback +