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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 72deb94d5 ORC-1328: Exclude the proto files from the shaded protobuf 
jar
72deb94d5 is described below

commit 72deb94d5e45c90fe2fcd8a01cf38bf85ef15f91
Author: Eduard Tudenhoefner <[email protected]>
AuthorDate: Wed Dec 7 02:52:27 2022 -0800

    ORC-1328: Exclude the proto files from the shaded protobuf jar
    
    ### Why are the changes needed?
    
    It looks like the shaded-protobuf.jar has the same issue that was fixed in 
https://github.com/apache/orc/pull/1334
    
    ### What changes were proposed in this pull request?
    
    Exclude the proto files
    
    ### How was this patch tested?
    
    Test manually.
    
    Closes #1336 from nastra/orc-1327.
    
    Authored-by: Eduard Tudenhoefner <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 java/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/pom.xml b/java/pom.xml
index 5060f15e2..4e93db234 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -463,6 +463,7 @@
                       <exclude>META-INF/DEPENDENCIES</exclude>
                       <exclude>META-INF/LICENSE</exclude>
                       <exclude>META-INF/NOTICE</exclude>
+                      <exclude>google/protobuf/**</exclude>
                     </excludes>
                   </filter>
                 </filters>

Reply via email to