From 874db1e8f54da9d464c0c494a2a7838c9b48baea Mon Sep 17 00:00:00 2001 From: Sergey Nuyanzin Date: Thu, 25 Jan 2024 10:46:55 +0100 Subject: [PATCH] [FLINK-34234] Add markBundledAsOptional --- flink-shaded-asm-9/pom.xml | 4 ++++ flink-shaded-guava-32/pom.xml | 1 + flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml | 7 +++++++ .../flink-shaded-jackson-module-jsonSchema-2/pom.xml | 4 ++++ flink-shaded-netty-4/pom.xml | 1 + flink-shaded-netty-tcnative-dynamic/pom.xml | 1 + flink-shaded-netty-tcnative-static/pom.xml | 1 + flink-shaded-swagger/pom.xml | 2 ++ .../flink-shaded-zookeeper-35/pom.xml | 4 ++++ .../flink-shaded-zookeeper-36/pom.xml | 5 +++++ .../flink-shaded-zookeeper-37/pom.xml | 5 +++++ .../flink-shaded-zookeeper-38/pom.xml | 5 +++++ 12 files changed, 40 insertions(+) diff --git a/flink-shaded-asm-9/pom.xml b/flink-shaded-asm-9/pom.xml index 1722471..d07c76a 100644 --- a/flink-shaded-asm-9/pom.xml +++ b/flink-shaded-asm-9/pom.xml @@ -43,24 +43,28 @@ under the License. org.ow2.asm asm ${asm.version} + ${flink.markBundledAsOptional} org.ow2.asm asm-tree ${asm.version} + ${flink.markBundledAsOptional} org.ow2.asm asm-analysis ${asm.version} + ${flink.markBundledAsOptional} org.ow2.asm asm-commons ${asm.version} + ${flink.markBundledAsOptional} diff --git a/flink-shaded-guava-32/pom.xml b/flink-shaded-guava-32/pom.xml index 844447f..7bf5112 100644 --- a/flink-shaded-guava-32/pom.xml +++ b/flink-shaded-guava-32/pom.xml @@ -39,6 +39,7 @@ under the License. com.google.guava guava ${guava.version} + ${flink.markBundledAsOptional} diff --git a/flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml b/flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml index aba2c59..80c3cd3 100644 --- a/flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml +++ b/flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml @@ -35,32 +35,39 @@ under the License. com.fasterxml.jackson.core jackson-core + ${flink.markBundledAsOptional} com.fasterxml.jackson.core jackson-annotations + ${flink.markBundledAsOptional} com.fasterxml.jackson.core jackson-databind + ${flink.markBundledAsOptional} com.fasterxml.jackson.dataformat jackson-dataformat-yaml + ${flink.markBundledAsOptional} com.fasterxml.jackson.dataformat jackson-dataformat-csv + ${flink.markBundledAsOptional} com.fasterxml.jackson.datatype jackson-datatype-jsr310 + ${flink.markBundledAsOptional} com.fasterxml.jackson.datatype jackson-datatype-jdk8 + ${flink.markBundledAsOptional} diff --git a/flink-shaded-jackson-parent/flink-shaded-jackson-module-jsonSchema-2/pom.xml b/flink-shaded-jackson-parent/flink-shaded-jackson-module-jsonSchema-2/pom.xml index 3e0ce58..b9e6856 100644 --- a/flink-shaded-jackson-parent/flink-shaded-jackson-module-jsonSchema-2/pom.xml +++ b/flink-shaded-jackson-parent/flink-shaded-jackson-module-jsonSchema-2/pom.xml @@ -35,18 +35,22 @@ under the License. com.fasterxml.jackson.core jackson-core + ${flink.markBundledAsOptional} com.fasterxml.jackson.core jackson-annotations + ${flink.markBundledAsOptional} com.fasterxml.jackson.core jackson-databind + ${flink.markBundledAsOptional} com.fasterxml.jackson.module jackson-module-jsonSchema + ${flink.markBundledAsOptional} diff --git a/flink-shaded-netty-4/pom.xml b/flink-shaded-netty-4/pom.xml index af427d6..3a411a8 100644 --- a/flink-shaded-netty-4/pom.xml +++ b/flink-shaded-netty-4/pom.xml @@ -37,6 +37,7 @@ under the License. io.netty netty-all ${netty.version} + ${flink.markBundledAsOptional} diff --git a/flink-shaded-netty-tcnative-dynamic/pom.xml b/flink-shaded-netty-tcnative-dynamic/pom.xml index 507b6df..6cb572b 100644 --- a/flink-shaded-netty-tcnative-dynamic/pom.xml +++ b/flink-shaded-netty-tcnative-dynamic/pom.xml @@ -43,6 +43,7 @@ under the License. io.netty netty-tcnative ${netty.tcnative.version} + ${flink.markBundledAsOptional} diff --git a/flink-shaded-netty-tcnative-static/pom.xml b/flink-shaded-netty-tcnative-static/pom.xml index 55f9416..eec9f09 100644 --- a/flink-shaded-netty-tcnative-static/pom.xml +++ b/flink-shaded-netty-tcnative-static/pom.xml @@ -43,6 +43,7 @@ under the License. io.netty netty-tcnative-boringssl-static ${netty.tcnative.version} + ${flink.markBundledAsOptional} diff --git a/flink-shaded-swagger/pom.xml b/flink-shaded-swagger/pom.xml index cb6d9b7..13d3b63 100644 --- a/flink-shaded-swagger/pom.xml +++ b/flink-shaded-swagger/pom.xml @@ -37,6 +37,7 @@ under the License. io.swagger.core.v3 swagger-core 2.2.19 + ${flink.markBundledAsOptional} org.slf4j @@ -52,6 +53,7 @@ under the License. org.yaml snakeyaml 2.1 + ${flink.markBundledAsOptional} com.fasterxml.jackson diff --git a/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-35/pom.xml b/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-35/pom.xml index 6b377b9..f3df990 100644 --- a/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-35/pom.xml +++ b/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-35/pom.xml @@ -41,6 +41,7 @@ under the License. org.apache.zookeeper zookeeper + ${flink.markBundledAsOptional} @@ -63,6 +64,7 @@ under the License. org.apache.curator curator-recipes ${curator.version} + ${flink.markBundledAsOptional} @@ -114,6 +116,7 @@ under the License. org.apache.zookeeper zookeeper ${zookeeper.version} + ${flink.markBundledAsOptional} io.netty @@ -127,6 +130,7 @@ under the License. com.google.guava guava ${guava.version} + ${flink.markBundledAsOptional} diff --git a/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-36/pom.xml b/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-36/pom.xml index 1e073d9..2433959 100644 --- a/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-36/pom.xml +++ b/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-36/pom.xml @@ -41,6 +41,7 @@ under the License. org.apache.zookeeper zookeeper + ${flink.markBundledAsOptional} @@ -71,6 +72,7 @@ under the License. io.dropwizard.metrics metrics-core 3.2.5 + ${flink.markBundledAsOptional} @@ -88,6 +90,7 @@ under the License. org.apache.curator curator-recipes ${curator.version} + ${flink.markBundledAsOptional} @@ -139,6 +142,7 @@ under the License. org.apache.zookeeper zookeeper ${zookeeper.version} + ${flink.markBundledAsOptional} io.netty @@ -152,6 +156,7 @@ under the License. com.google.guava guava ${guava.version} + ${flink.markBundledAsOptional} diff --git a/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-37/pom.xml b/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-37/pom.xml index 9d3fda0..5ef1e8e 100644 --- a/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-37/pom.xml +++ b/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-37/pom.xml @@ -41,6 +41,7 @@ under the License. org.apache.zookeeper zookeeper + ${flink.markBundledAsOptional} @@ -61,6 +62,7 @@ under the License. io.dropwizard.metrics metrics-core 4.1.12.1 + ${flink.markBundledAsOptional} @@ -73,6 +75,7 @@ under the License. org.apache.curator curator-recipes ${curator.version} + ${flink.markBundledAsOptional} @@ -124,6 +127,7 @@ under the License. org.apache.zookeeper zookeeper ${zookeeper.version} + ${flink.markBundledAsOptional} io.netty @@ -137,6 +141,7 @@ under the License. com.google.guava guava ${guava.version} + ${flink.markBundledAsOptional} diff --git a/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-38/pom.xml b/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-38/pom.xml index 9935f81..80f38cf 100644 --- a/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-38/pom.xml +++ b/flink-shaded-zookeeper-parent/flink-shaded-zookeeper-38/pom.xml @@ -41,6 +41,7 @@ under the License. org.apache.zookeeper zookeeper + ${flink.markBundledAsOptional} @@ -65,6 +66,7 @@ under the License. io.dropwizard.metrics metrics-core 4.1.12.1 + ${flink.markBundledAsOptional} @@ -77,6 +79,7 @@ under the License. org.apache.curator curator-recipes ${curator.version} + ${flink.markBundledAsOptional} @@ -128,6 +131,7 @@ under the License. org.apache.zookeeper zookeeper ${zookeeper.version} + ${flink.markBundledAsOptional} io.netty @@ -141,6 +145,7 @@ under the License. com.google.guava guava ${guava.version} + ${flink.markBundledAsOptional}