From 955e553831fbe06eb67029ba10882926c76eb87f Mon Sep 17 00:00:00 2001 From: JiaShuo Date: Fri, 15 Nov 2019 16:46:00 +0800 Subject: [PATCH 1/2] shade zkclient&guava --- .gitignore | 1 + pom.xml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/.gitignore b/.gitignore index a70baad8..1cae4d14 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ rolling_log/ .vscode/ google-java-format-* pegasus-* +dependency-reduced-pom.xml \ No newline at end of file diff --git a/pom.xml b/pom.xml index 20efe87a..2fe57466 100644 --- a/pom.xml +++ b/pom.xml @@ -86,6 +86,7 @@ + com.xiaomi.infra.pegasus.thirdparty ${project.basedir}/src/main/java @@ -94,6 +95,36 @@ ${project.basedir}/target/classes ${project.basedir}/target/test-classes + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + + + com.101tec + com.google.guava + + + + + com.google + ${pegasus.shade.name}.com.google + + + org.I0Itec + ${pegasus.shade.name}.org.I0Itec + + + + + + org.apache.maven.plugins maven-compiler-plugin From bd4fe72191765ae249c707c563473e85d0b21c5f Mon Sep 17 00:00:00 2001 From: JiaShuo Date: Tue, 19 Nov 2019 10:53:28 +0800 Subject: [PATCH 2/2] shade zkclient&guava --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1cae4d14..4bb31109 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,4 @@ rolling_log/ .vscode/ google-java-format-* pegasus-* -dependency-reduced-pom.xml \ No newline at end of file +dependency-reduced-pom.xml