diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 31d6a53..f4fc9e3 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -37,6 +37,6 @@ jobs: - name: Publish to Apache Maven Central run: mvn deploy -DskipTests env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_PASSWORD }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} + OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} diff --git a/pom.xml b/pom.xml index 31c76df..607c8e1 100644 --- a/pom.xml +++ b/pom.xml @@ -31,6 +31,7 @@ 3.4.2 3.3.0 1.6.13 + 3.1.0 @@ -61,7 +62,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.1.0 + ${maven-gpg-plugin.version} sign-artifacts