Skip to content

Commit

Permalink
[FLINK-15864][k8s] Upgrade jackson-databind dependency to 2.10.1
Browse files Browse the repository at this point in the history
This closes #11000.
  • Loading branch information
tillrohrmann committed Feb 4, 2020
1 parent 3d51e6c commit eea3d6f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 42 deletions.
52 changes: 11 additions & 41 deletions flink-kubernetes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@ under the License.
<kubernetes.client.version>4.5.2</kubernetes.client.version>
</properties>

<!-- Set dependency version for transitive dependencies -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.12.1</version>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>

<!-- core dependencies -->
Expand All @@ -57,54 +68,13 @@ under the License.
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<version>${kubernetes.client.version}</version>
<!-- exclude for dependency convergence and use fixed version -->
<exclusions>
<exclusion>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.12.1</version>
</dependency>

<!-- test dependencies -->

<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-server-mock</artifactId>
<version>${kubernetes.client.version}</version>
<exclusions>
<exclusion>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion flink-kubernetes/src/main/resources/META-INF/NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This project bundles the following dependencies under the Apache Software Licens

- com.fasterxml.jackson.core:jackson-annotations:2.10.1
- com.fasterxml.jackson.core:jackson-core:2.10.1
- com.fasterxml.jackson.core:jackson-databind:2.9.8
- com.fasterxml.jackson.core:jackson-databind:2.10.1
- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.9
- com.github.mifmif:generex:1.0.2
- com.squareup.okhttp3:logging-interceptor:3.12.0
Expand Down

0 comments on commit eea3d6f

Please sign in to comment.