Skip to content

Commit

Permalink
Add markBundledAsOptional for guava and jackson
Browse files Browse the repository at this point in the history
  • Loading branch information
snuyanzin committed Jan 25, 2024
1 parent bdea816 commit 4f5a5ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
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

0 comments on commit 4f5a5ab

Please sign in to comment.