From 910cdfb7d823401228e79d108cb9380bc972e1e1 Mon Sep 17 00:00:00 2001 From: Yijie Shen Date: Thu, 20 Feb 2020 10:55:34 +0800 Subject: [PATCH 1/2] stop shade snappy-java --- pulsar-client-shaded/pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pulsar-client-shaded/pom.xml b/pulsar-client-shaded/pom.xml index ae45b365950f2..3ef9bf3bb800d 100644 --- a/pulsar-client-shaded/pom.xml +++ b/pulsar-client-shaded/pom.xml @@ -137,7 +137,6 @@ org.codehaus.jackson:jackson-core-asl org.codehaus.jackson:jackson-mapper-asl com.thoughtworks.paranamer:paranamer - org.xerial.snappy:snappy-java org.apache.commons:commons-compress org.tukaani:xz @@ -250,10 +249,6 @@ com.thoughtworks.paranamer org.apache.pulsar.shade.com.thoughtworks.paranamer - - org.xerial.snappy - org.apache.pulsar.shade.org.xerial.snappy - org.apache.commons org.apache.pulsar.shade.org.apache.commons From ba77d89b2979b7c7bb4abe27599c67024527c4b0 Mon Sep 17 00:00:00 2001 From: Yijie Shen Date: Thu, 20 Feb 2020 20:26:06 +0800 Subject: [PATCH 2/2] fix all occurance of snappy in shading --- pulsar-broker-shaded/pom.xml | 5 ---- pulsar-client-all/pom.xml | 5 ---- .../pulsar-client-kafka-shaded/pom.xml | 19 +++++--------- .../pulsar-client-kafka-shaded_0_8/pom.xml | 23 ++++++----------- .../pulsar-client-kafka-shaded_0_9/pom.xml | 25 +++++++------------ 5 files changed, 23 insertions(+), 54 deletions(-) diff --git a/pulsar-broker-shaded/pom.xml b/pulsar-broker-shaded/pom.xml index 6cb8139187aff..4fcc51ae9e4c7 100644 --- a/pulsar-broker-shaded/pom.xml +++ b/pulsar-broker-shaded/pom.xml @@ -105,7 +105,6 @@ org.codehaus.jackson:jackson-core-asl org.codehaus.jackson:jackson-mapper-asl com.thoughtworks.paranamer:paranamer - org.xerial.snappy:snappy-java org.apache.commons:commons-compress org.tukaani:xz @@ -311,10 +310,6 @@ com.thoughtworks.paranamer org.apache.pulsar.shade.com.thoughtworks.paranamer - - org.xerial.snappy - org.apache.pulsar.shade.org.xerial.snappy - org.tukaani org.apache.pulsar.shade.org.tukaani diff --git a/pulsar-client-all/pom.xml b/pulsar-client-all/pom.xml index 4d6165af972fe..c220fc0b60f61 100644 --- a/pulsar-client-all/pom.xml +++ b/pulsar-client-all/pom.xml @@ -147,7 +147,6 @@ org.codehaus.jackson:jackson-core-asl org.codehaus.jackson:jackson-mapper-asl com.thoughtworks.paranamer:paranamer - org.xerial.snappy:snappy-java org.apache.commons:commons-compress org.tukaani:xz org.apache.bookkeeper:bookkeeper-common-allocator @@ -312,10 +311,6 @@ com.thoughtworks.paranamer org.apache.pulsar.shade.com.thoughtworks.paranamer - - org.xerial.snappy - org.apache.pulsar.shade.org.xerial.snappy - org.apache.commons org.apache.pulsar.shade.org.apache.commons diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded/pom.xml index 383203e52ebe3..cbba893521fec 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded/pom.xml @@ -103,7 +103,6 @@ org.codehaus.jackson:jackson-core-asl org.codehaus.jackson:jackson-mapper-asl com.thoughtworks.paranamer:paranamer - org.xerial.snappy:snappy-java org.apache.commons:commons-compress org.tukaani:xz @@ -115,6 +114,12 @@ ** + + org.apache.pulsar:pulsar-client-original + + ** + + @@ -217,10 +222,6 @@ com.thoughtworks.paranamer org.apache.pulsar.shade.com.thoughtworks.paranamer - - org.xerial.snappy - org.apache.pulsar.shade.org.xerial.snappy - org.apache.commons org.apache.pulsar.shade.org.apache.commons @@ -234,14 +235,6 @@ org.apache.pulsar.shade.org.apache.bookkeeper - - - org.apache.pulsar:pulsar-client-original - - ** - - - diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_8/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_8/pom.xml index 29b8e46c97c08..ffaed560ce884 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_8/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_8/pom.xml @@ -103,18 +103,23 @@ org.codehaus.jackson:jackson-core-asl org.codehaus.jackson:jackson-mapper-asl com.thoughtworks.paranamer:paranamer - org.xerial.snappy:snappy-java org.apache.commons:commons-compress org.tukaani:xz - + commons-logging:commons-logging ** - + + + org.apache.pulsar:pulsar-client-original + + ** + + @@ -375,10 +380,6 @@ com.thoughtworks.paranamer org.apache.pulsar.shade.com.thoughtworks.paranamer - - org.xerial.snappy - org.apache.pulsar.shade.org.xerial.snappy - org.apache.commons org.apache.pulsar.shade.org.apache.commons @@ -392,14 +393,6 @@ org.apache.pulsar.shade.org.apache.bookkeeper - - - org.apache.pulsar:pulsar-client-original - - ** - - - diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_9/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_9/pom.xml index 00bdb184af9db..954af492f782e 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_9/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_9/pom.xml @@ -99,18 +99,23 @@ org.codehaus.jackson:jackson-core-asl org.codehaus.jackson:jackson-mapper-asl com.thoughtworks.paranamer:paranamer - org.xerial.snappy:snappy-java org.apache.commons:commons-compress org.tukaani:xz - + commons-logging:commons-logging - ** + ** - + + + org.apache.pulsar:pulsar-client-original + + ** + + @@ -213,10 +218,6 @@ com.thoughtworks.paranamer org.apache.pulsar.shade.com.thoughtworks.paranamer - - org.xerial.snappy - org.apache.pulsar.shade.org.xerial.snappy - org.apache.commons org.apache.pulsar.shade.org.apache.commons @@ -230,14 +231,6 @@ org.apache.pulsar.shade.org.apache.bookkeeper - - - org.apache.pulsar:pulsar-client-original - - ** - - -