You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2023/03/22 11:07:25 UTC

[james-project] 01/01: [FIX] Declare all netty libs on master pom

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

rcordier pushed a commit to branch declare-dep-netty-codec-http
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 92802ed41158f919001c17c90409ea45840205cd
Author: Rene Cordier <rc...@linagora.com>
AuthorDate: Wed Mar 22 18:05:58 2023 +0700

    [FIX] Declare all netty libs on master pom
    
    To avoid having possible netty lib mismatches depending of the flavors and other third party libs.
---
 pom.xml                                  | 30 ++++++++++++++++++++++++++++++
 protocols/netty/pom.xml                  |  2 --
 server/blob/blob-s3/pom.xml              |  4 ----
 server/mailet/rate-limiter-redis/pom.xml |  2 --
 4 files changed, 30 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 96df2e635a..4c7ac572b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2396,11 +2396,41 @@
                 <artifactId>lettuce-core</artifactId>
                 <version>${lettuce.core.version}</version>
             </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-codec</artifactId>
+                <version>${netty.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-codec-haproxy</artifactId>
+                <version>${netty.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-codec-http</artifactId>
+                <version>${netty.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-codec-http2</artifactId>
+                <version>${netty.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-common</artifactId>
+                <version>${netty.version}</version>
+            </dependency>
             <dependency>
                 <groupId>io.netty</groupId>
                 <artifactId>netty-handler</artifactId>
                 <version>${netty.version}</version>
             </dependency>
+            <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-transport</artifactId>
+                <version>${netty.version}</version>
+            </dependency>
             <dependency>
                 <groupId>io.projectreactor</groupId>
                 <artifactId>reactor-bom</artifactId>
diff --git a/protocols/netty/pom.xml b/protocols/netty/pom.xml
index 827ff6f631..83fedd85fe 100644
--- a/protocols/netty/pom.xml
+++ b/protocols/netty/pom.xml
@@ -53,12 +53,10 @@
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-codec-haproxy</artifactId>
-            <version>${netty.version}</version>
         </dependency>
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-handler</artifactId>
-            <version>${netty.version}</version>
         </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
diff --git a/server/blob/blob-s3/pom.xml b/server/blob/blob-s3/pom.xml
index 62978771ee..1d965d5175 100644
--- a/server/blob/blob-s3/pom.xml
+++ b/server/blob/blob-s3/pom.xml
@@ -76,22 +76,18 @@
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-codec</artifactId>
-            <version>${netty.version}</version>
         </dependency>
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-codec-http</artifactId>
-            <version>${netty.version}</version>
         </dependency>
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-codec-http2</artifactId>
-            <version>${netty.version}</version>
         </dependency>
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-handler</artifactId>
-            <version>${netty.version}</version>
         </dependency>
         <dependency>
             <groupId>io.projectreactor.addons</groupId>
diff --git a/server/mailet/rate-limiter-redis/pom.xml b/server/mailet/rate-limiter-redis/pom.xml
index 9fa7284e80..17cdfc1baf 100644
--- a/server/mailet/rate-limiter-redis/pom.xml
+++ b/server/mailet/rate-limiter-redis/pom.xml
@@ -103,7 +103,6 @@
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-common</artifactId>
-            <version>${netty.version}</version>
         </dependency>
         <dependency>
             <groupId>io.netty</groupId>
@@ -112,7 +111,6 @@
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-transport</artifactId>
-            <version>${netty.version}</version>
         </dependency>
         <dependency>
             <groupId>io.projectreactor</groupId>


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org