From 02dac8d137e23744189fe48962855786e05fdacf Mon Sep 17 00:00:00 2001 From: homebeaver Date: Mon, 16 Dec 2024 14:05:24 +0100 Subject: [PATCH] maven-gpg-plugin for 1.10.2 --- .github/workflows/maven_deploy.yml | 7 +++---- pom.xml | 17 +++++------------ 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/maven_deploy.yml b/.github/workflows/maven_deploy.yml index 0e77614..0858246 100644 --- a/.github/workflows/maven_deploy.yml +++ b/.github/workflows/maven_deploy.yml @@ -28,13 +28,12 @@ jobs: server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - # TODO: -# gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets -# gpg-passphrase: MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin + gpg-private-key: ${{ secrets.SIGN_KEY }} # has to be read directly from secrets + gpg-passphrase: SIGN_KEY_PASS # default name used by maven-gpg-plugin - name: Publish package # run: mvn --batch-mode deploy run: mvn -V --errors --show-version --batch-mode --no-transfer-progress -Ddoclint=all deploy env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} -# MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGN_KEY_PASS }} diff --git a/pom.xml b/pom.xml index bcbc454..37dd715 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ --> io.github.homebeaver isoiec7064 - 1.10.1 + 1.10.2 jar IsoIec7064 @@ -132,26 +132,22 @@ - org.apache.maven.plugins maven-gpg-plugin 3.2.7 - sign-artifacts verify sign - - sign-key-id - sign-key-id - -use simplify4u : --> + sign - - - sign-key-id - + --> org.apache.maven.plugins