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 Jun 5, 2024
1 parent ef85b2b commit dc3eaaf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,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 Down
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 dc3eaaf

Please sign in to comment.