Skip to content

Commit

Permalink
upgrade maven-gpg-plugin to 3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglinsong committed May 31, 2024
1 parent c4e0926 commit 738e0f8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
with:
show-progress: false
# needed for the git-commit-id-plugin to work
fetch-depth: 0
Expand All @@ -28,4 +28,3 @@ jobs:
cache: maven
- name: Maven verify
run: mvn verify

1 change: 0 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ pipeline {
gpg --batch --import ${GPG_SECRET}
echo ${GPG_TRUST} | gpg --import-ownertrust -
gpg --list-secret-keys
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
printenv | sort
git checkout ${REPO_RELEASE_TAG}
Expand Down
9 changes: 8 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,18 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</version>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>deploy-to-ossrh</id>
<build>
Expand Down

0 comments on commit 738e0f8

Please sign in to comment.