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

ayushsaxena pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tez.git


The following commit(s) were added to refs/heads/master by this push:
     new d39603c9e TEZ-4319: Add explicit dependency on snappy-java to tez-api. 
(#137). (Masatake Iwasaki, Reviewed by Ayush Saxena)
d39603c9e is described below

commit d39603c9ec7eae5546c704affc2308d5e83f0cd5
Author: Masatake Iwasaki <iwasak...@apache.org>
AuthorDate: Tue Dec 24 12:56:53 2024 +0900

    TEZ-4319: Add explicit dependency on snappy-java to tez-api. (#137). 
(Masatake Iwasaki, Reviewed by Ayush Saxena)
---
 pom.xml         | 10 ++++++++++
 tez-api/pom.xml |  4 ++++
 2 files changed, 14 insertions(+)

diff --git a/pom.xml b/pom.xml
index c92bc76a4..12fc40891 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,6 +98,7 @@
     <scm.url>scm:git:https://gitbox.apache.org/repos/asf/tez.git</scm.url>
     <servlet-api.version>3.1.0</servlet-api.version>
     <slf4j.version>1.7.36</slf4j.version>
+    <snappy-java.version>1.1.10.4</snappy-java.version>
     <test.build.data>${project.build.directory}/tmp</test.build.data>
     <wro4j-maven-plugin.version>1.7.9</wro4j-maven-plugin.version>
 
@@ -383,6 +384,10 @@
             <groupId>io.netty</groupId>
             <artifactId>*</artifactId>
           </exclusion>
+          <exclusion>
+            <groupId>org.xerial.snappy</groupId>
+            <artifactId>snappy-java</artifactId>
+          </exclusion>
         </exclusions>
       </dependency>
       <dependency>
@@ -797,6 +802,11 @@
         <artifactId>leveldbjni-all</artifactId>
         <version>${leveldbjni-all.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.xerial.snappy</groupId>
+        <artifactId>snappy-java</artifactId>
+        <version>${snappy-java.version}</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
diff --git a/tez-api/pom.xml b/tez-api/pom.xml
index 1b60e233d..4e6c27e18 100644
--- a/tez-api/pom.xml
+++ b/tez-api/pom.xml
@@ -119,6 +119,10 @@
       <artifactId>bcprov-jdk18on</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+        <groupId>org.xerial.snappy</groupId>
+        <artifactId>snappy-java</artifactId>
+    </dependency>
   </dependencies>
 
   <build>

Reply via email to