From c87e522a5840746caecf5544ada2c66ae1d73fa0 Mon Sep 17 00:00:00 2001
From: mandlil <138015259+mandlil@users.noreply.github.com>
Date: Mon, 14 Jul 2025 08:52:18 +0000
Subject: [PATCH] Revert Gpg plugin changes (#3888)
---
.github/workflows/java-unit-test.yml | 2 +-
java/pom.xml | 52 ++++++++++++++++------------
2 files changed, 31 insertions(+), 23 deletions(-)
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
+
+
+
+
+
+
+
+
+