Skip to content

Commit 98a841f

Browse files
authored
fix: bring Jackson and Annotations in sync (#2381)
1 parent 055b214 commit 98a841f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

build/build-parent/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
<version.org.springframework.boot>4.1.0</version.org.springframework.boot>
5050
<version.org.wiremock>3.13.2</version.org.wiremock>
5151
<version.ow2.asm>9.10.1</version.ow2.asm>
52+
<!-- Upgrade Jackson and its annotations together; otherwise there may be runtime errors. -->
5253
<version.tools.jackson>3.2.0</version.tools.jackson>
54+
<version.com.fasterxml.jackson.core>2.22</version.com.fasterxml.jackson.core>
5355

5456
<!-- ************************************************************************ -->
5557
<!-- Plugins -->
@@ -169,6 +171,12 @@
169171
<artifactId>jspecify</artifactId>
170172
<version>${version.org.jspecify}</version>
171173
</dependency>
174+
<!-- Quarkus may bring an outdated version, causing compatibility issues in timefold-solver-jackson. -->
175+
<dependency>
176+
<groupId>com.fasterxml.jackson.core</groupId>
177+
<artifactId>jackson-annotations</artifactId>
178+
<version>${version.com.fasterxml.jackson.core}</version>
179+
</dependency>
172180

173181
<!-- ASM -->
174182
<dependency>

0 commit comments

Comments
 (0)