You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2022/08/30 12:59:58 UTC

[phoenix-omid] branch master updated: OMID-232 Do not depend on netty-all

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

stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-omid.git


The following commit(s) were added to refs/heads/master by this push:
     new 170a64d5 OMID-232 Do not depend on netty-all
170a64d5 is described below

commit 170a64d503d3ace4cc7500bd73e2863e2754748e
Author: Istvan Toth <st...@apache.org>
AuthorDate: Mon Aug 29 14:10:39 2022 +0200

    OMID-232 Do not depend on netty-all
---
 pom.xml                    | 37 ++++++++++++++++++++++++++++++++++++-
 transaction-client/pom.xml | 10 +++++++++-
 tso-server/pom.xml         | 10 +++++++++-
 3 files changed, 54 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 040839b9..38e41b6d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -966,11 +966,46 @@
                 <version>${curator.version}</version>
             </dependency>
 
+            <!-- These are directly used -->
             <dependency>
                 <groupId>io.netty</groupId>
-                <artifactId>netty-all</artifactId>
+                <artifactId>netty-transport</artifactId>
                 <version>${netty4.version}</version>
             </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-common</artifactId>
+                <version>${netty4.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-codec</artifactId>
+                <version>${netty4.version}</version>
+            </dependency>
+
+            <!-- These are to manage the indirect dependencies -->
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-buffer</artifactId>
+                <version>${netty4.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-handler</artifactId>
+                <version>${netty4.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-transport-native-epoll</artifactId>
+                <version>${netty4.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-transport-native-unix-common</artifactId>
+                <version>${netty4.version}</version>
+            </dependency>
+            
+
 
             <dependency>
                 <groupId>org.slf4j</groupId>
diff --git a/transaction-client/pom.xml b/transaction-client/pom.xml
index 248a05e7..2f4b2ee8 100644
--- a/transaction-client/pom.xml
+++ b/transaction-client/pom.xml
@@ -68,7 +68,15 @@
         </dependency>
         <dependency>
             <groupId>io.netty</groupId>
-            <artifactId>netty-all</artifactId>
+            <artifactId>netty-transport</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-common</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec</artifactId>
         </dependency>
 
         <!-- end distributed comm -->
diff --git a/tso-server/pom.xml b/tso-server/pom.xml
index 009369fc..44452805 100644
--- a/tso-server/pom.xml
+++ b/tso-server/pom.xml
@@ -111,7 +111,15 @@
 
         <dependency>
             <groupId>io.netty</groupId>
-            <artifactId>netty-all</artifactId>
+            <artifactId>netty-transport</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-common</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec</artifactId>
         </dependency>
         <dependency>
             <groupId>com.google.protobuf</groupId>