From 77df7d23c9aae375f77b80ad6e3f149b26e57877 Mon Sep 17 00:00:00 2001 From: Eric Zhao Date: Fri, 4 Jan 2019 14:05:39 +0800 Subject: [PATCH] Optimize Netty dependency of cluster modules - use `netty-handler` instead to reduce size Signed-off-by: Eric Zhao --- sentinel-cluster/pom.xml | 5 +++++ sentinel-cluster/sentinel-cluster-client-default/pom.xml | 2 +- sentinel-cluster/sentinel-cluster-server-default/pom.xml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sentinel-cluster/pom.xml b/sentinel-cluster/pom.xml index 0f9350f5..a3b200d6 100644 --- a/sentinel-cluster/pom.xml +++ b/sentinel-cluster/pom.xml @@ -27,6 +27,11 @@ + + io.netty + netty-handler + ${netty.version} + io.netty netty-all diff --git a/sentinel-cluster/sentinel-cluster-client-default/pom.xml b/sentinel-cluster/sentinel-cluster-client-default/pom.xml index 649d51e5..d7ba4a7f 100644 --- a/sentinel-cluster/sentinel-cluster-client-default/pom.xml +++ b/sentinel-cluster/sentinel-cluster-client-default/pom.xml @@ -29,7 +29,7 @@ io.netty - netty-all + netty-handler diff --git a/sentinel-cluster/sentinel-cluster-server-default/pom.xml b/sentinel-cluster/sentinel-cluster-server-default/pom.xml index 766dd7b4..0348758f 100644 --- a/sentinel-cluster/sentinel-cluster-server-default/pom.xml +++ b/sentinel-cluster/sentinel-cluster-server-default/pom.xml @@ -33,7 +33,7 @@ io.netty - netty-all + netty-handler