Skip to content

Commit de48aef

Browse files
committed
Align Jackson modules with jackson-databind 2.22.0
Dependabot bumped jackson-databind to 2.22.0 while the other Jackson artifacts stayed pinned at older versions. databind 2.22.0 references the JsonSerializeAs annotation, absent from jackson-annotations 2.17.2, causing NoClassDefFoundError at test runtime. Bump the remaining modules to the versions databind 2.22.0 expects (annotations uses the two-segment 2.22 scheme): - jackson-annotations 2.17.2 -> 2.22 - jackson-core 2.18.6 -> 2.22.0 - jackson-datatype-jsr310 2.17.2 -> 2.22.0
1 parent 8d8e027 commit de48aef

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎pom.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
<dependency>
4747
<groupId>com.fasterxml.jackson.core</groupId>
4848
<artifactId>jackson-annotations</artifactId>
49-
<version>2.17.2</version>
49+
<version>2.22</version>
5050
</dependency>
5151
<dependency>
5252
<groupId>com.fasterxml.jackson.core</groupId>
5353
<artifactId>jackson-core</artifactId>
54-
<version>2.18.6</version>
54+
<version>2.22.0</version>
5555
</dependency>
5656
<dependency>
5757
<groupId>com.fasterxml.jackson.core</groupId>
@@ -61,7 +61,7 @@
6161
<dependency>
6262
<groupId>com.fasterxml.jackson.datatype</groupId>
6363
<artifactId>jackson-datatype-jsr310</artifactId>
64-
<version>2.17.2</version>
64+
<version>2.22.0</version>
6565
</dependency>
6666
<dependency>
6767
<groupId>jakarta.validation</groupId>

0 commit comments

Comments
 (0)