Skip to content

Commit

Permalink
[FLINK-34234] Add markBundledAsOptional
Browse files Browse the repository at this point in the history
  • Loading branch information
snuyanzin committed Jan 26, 2024
1 parent 392b737 commit 874db1e
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flink-shaded-asm-9/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,28 @@ under the License.
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>${asm.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>

<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>${asm.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>

<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId>
<version>${asm.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>

<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>${asm.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>

Expand Down
1 change: 1 addition & 0 deletions flink-shaded-guava-32/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ under the License.
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- this dependency is actually empty and appears to be some weird legacy artifact -->
Expand Down
7 changes: 7 additions & 0 deletions flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,32 +35,39 @@ under the License.
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-csv</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<!-- Java 8 Date/time -->
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<!-- Java 8 Datatypes -->
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jdk8</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,22 @@ under the License.
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jsonSchema</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>

Expand Down
1 change: 1 addition & 0 deletions flink-shaded-netty-4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ under the License.
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>${netty.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>

Expand Down
1 change: 1 addition & 0 deletions flink-shaded-netty-tcnative-dynamic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ under the License.
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
<version>${netty.tcnative.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>

Expand Down
1 change: 1 addition & 0 deletions flink-shaded-netty-tcnative-static/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ under the License.
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>${netty.tcnative.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>

Expand Down
2 changes: 2 additions & 0 deletions flink-shaded-swagger/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ under the License.
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-core</artifactId>
<version>2.2.19</version>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand All @@ -52,6 +53,7 @@ under the License.
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>2.1</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ under the License.
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- Flink distribution provides logging classes -->
Expand All @@ -63,6 +64,7 @@ under the License.
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- not relevant at runtime -->
Expand Down Expand Up @@ -114,6 +116,7 @@ under the License.
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>io.netty</groupId>
Expand All @@ -127,6 +130,7 @@ under the License.
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ under the License.
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- Flink distribution provides logging classes -->
Expand Down Expand Up @@ -71,6 +72,7 @@ under the License.
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>3.2.5</version>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- Flink distribution provides logging classes -->
Expand All @@ -88,6 +90,7 @@ under the License.
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- not relevant at runtime -->
Expand Down Expand Up @@ -139,6 +142,7 @@ under the License.
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>io.netty</groupId>
Expand All @@ -152,6 +156,7 @@ under the License.
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ under the License.
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- not relevant at runtime -->
Expand All @@ -61,6 +62,7 @@ under the License.
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>4.1.12.1</version>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- Flink distribution provides logging classes -->
Expand All @@ -73,6 +75,7 @@ under the License.
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- not relevant at runtime -->
Expand Down Expand Up @@ -124,6 +127,7 @@ under the License.
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>io.netty</groupId>
Expand All @@ -137,6 +141,7 @@ under the License.
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ under the License.
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- not relevant at runtime -->
Expand All @@ -65,6 +66,7 @@ under the License.
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>4.1.12.1</version>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- Flink distribution provides logging classes -->
Expand All @@ -77,6 +79,7 @@ under the License.
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
<exclusions>
<exclusion>
<!-- not relevant at runtime -->
Expand Down Expand Up @@ -128,6 +131,7 @@ under the License.
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
<dependency>
<groupId>io.netty</groupId>
Expand All @@ -141,6 +145,7 @@ under the License.
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<optional>${flink.markBundledAsOptional}</optional>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down

0 comments on commit 874db1e

Please sign in to comment.