Skip to content

Commit ded6f71

Browse files
committed
Pin version of Jackson since Fabric8 6.x is incompatible with Jackson 2.19.x
1 parent 798bdb6 commit ded6f71

File tree

1 file changed

+13
-0
lines changed
  • spring-cloud-kubernetes-fabric8-config

1 file changed

+13
-0
lines changed

spring-cloud-kubernetes-fabric8-config/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111

1212
<artifactId>spring-cloud-kubernetes-fabric8-config</artifactId>
1313
<name>Spring Cloud Kubernetes :: Fabric8 Config</name>
14+
<properties>
15+
<!-- We are overriding the version of Jackson here because Fabric8 is
16+
is not compatible with Jackson 2.19.0 which used in Spring Boot 3.5.x
17+
We cannot use Jackson 2.19.0 until we can upgrade to Fabric8
18+
7.3.0.
19+
See https://github.com/fabric8io/kubernetes-client/issues/7036
20+
See https://github.com/spring-projects/spring-boot/commit/e1ff4fbaf99bfcfdf0828ed07664b208a3ca6157
21+
-->
22+
<jackson.version>2.18.4</jackson.version>
23+
</properties>
1424

1525
<dependencies>
1626
<dependency>
@@ -76,16 +86,19 @@
7686
<dependency>
7787
<groupId>com.fasterxml.jackson.core</groupId>
7888
<artifactId>jackson-databind</artifactId>
89+
<version>${jackson.version}</version>
7990
<scope>test</scope>
8091
</dependency>
8192
<dependency>
8293
<groupId>com.fasterxml.jackson.core</groupId>
8394
<artifactId>jackson-core</artifactId>
95+
<version>${jackson.version}</version>
8496
<scope>test</scope>
8597
</dependency>
8698
<dependency>
8799
<groupId>com.fasterxml.jackson.core</groupId>
88100
<artifactId>jackson-annotations</artifactId>
101+
<version>${jackson.version}</version>
89102
<scope>test</scope>
90103
</dependency>
91104
<dependency>

0 commit comments

Comments
 (0)