This is an automated email from the ASF dual-hosted git repository.

achennaka pushed a commit to branch branch-1.18.x
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/branch-1.18.x by this push:
     new 4fd4a0df8 [Java] Fix signing jars
4fd4a0df8 is described below

commit 4fd4a0df86b6c5fc7ca6087aaa0833e12105766d
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]>
    (cherry picked from commit 8627147206282050fa1783523e79e16d3c496328)
    Reviewed-on: http://gerrit.cloudera.org:8080/23751
---
 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.

Reply via email to