From af917e608f6eda519f9efa22422b6d66c8c7b37f Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Tue, 12 Mar 2024 22:10:59 +0100 Subject: [PATCH] Use new BC signer in maven-gpg-plugin --- .github/workflows/release.yml | 7 +++---- pom.xml | 6 ------ 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97e5c7c..9c1d4fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,10 @@ jobs: server-id: ossrh server-username: CI_DEPLOY_USERNAME server-password: CI_DEPLOY_PASSWORD - gpg-passphrase: GPG_PASSPHRASE - gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} - name: Build and Deploy - run: ./mvnw -B -V -ntp -Prelease deploy + run: ./mvnw -B -V -ntp -Dgpg.signer=bc -Prelease deploy env: CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + MAVEN_GPG_KEY: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/pom.xml b/pom.xml index 2b7cee3..06dc5b5 100644 --- a/pom.xml +++ b/pom.xml @@ -325,12 +325,6 @@ sign - - - --pinentry-mode - loopback - -