This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 862714720 [Java] Fix signing jars
862714720 is described below
commit 8627147206282050fa1783523e79e16d3c496328
Author: Abhishek Chennaka <[email protected]>
AuthorDate: Thu Dec 4 16:07:02 2025 -0800
[Java] Fix signing jars
The old configurations.archives is tied to the deprecated uploadArchives
task and is not used by the maven-publish plugin[1]. This patch updates the
signing configuration to sign the actual Maven publication used during
publishing.
This change has been tested manually.
[1] https://docs.gradle.org/7.6.2/userguide/publishing_signing.html
Change-Id: I138790487ce586bdfd59bc1f1b9c250696ad586a
Reviewed-on: http://gerrit.cloudera.org:8080/23746
Reviewed-by: Alexey Serbin <[email protected]>
Reviewed-by: Zoltan Chovan <[email protected]>
Tested-by: Abhishek Chennaka <[email protected]>
---
java/gradle/publishing.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/gradle/publishing.gradle b/java/gradle/publishing.gradle
index 12b7a938e..ea62bc174 100644
--- a/java/gradle/publishing.gradle
+++ b/java/gradle/publishing.gradle
@@ -175,7 +175,7 @@ signing {
useGpgCmd() // Use gpg-agent to sign
}
- sign configurations.archives
+ sign publishing.publications.maven
}
// Add the install task to the "Upload" group so it's visible in the tasks
output.