diff --git a/.github/workflows/java-unit-test.yml b/.github/workflows/java-unit-test.yml
index 5ad1351d3..2e2672970 100644
--- a/.github/workflows/java-unit-test.yml
+++ b/.github/workflows/java-unit-test.yml
@@ -28,7 +28,7 @@ jobs:
# it's safe to remove the first line entirely.
- name: Test Build Tools with Maven
run: |
- mvn install -P github-actions -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true -B -V
+ mvn install -P github-actions -DskipTests=true -Dmaven.javadoc.skip=true -B -V
mvn -P github-actions test
- name: Test Java API with Ant
run: |
diff --git a/java/pom.xml b/java/pom.xml
index 666cc233e..2b8e420e9 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -167,28 +167,6 @@
UTF-8
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 3.1.0
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
-
-
- --batch
- --yes
- --pinentry-mode
- loopback
-
-
-
org.sonatype.central
central-publishing-maven-plugin
@@ -201,6 +179,36 @@
+
+
+ release-sign-artifacts
+
+
+ performRelease
+ true
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 3.1.0
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+
+
+