Skip to content

Commit 650bd11

Browse files
committed
build(pom): manage jackson via jackson-bom 2.18.9 per easy4j-deploy spec
1 parent ef5067e commit 650bd11

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

‎pom.xml‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@
497497
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
498498
<!-- Dependency versions -->
499499
<commons-exec.version>1.4.0</commons-exec.version>
500-
<jackson.version>2.18.9</jackson.version>
500+
<jackson-bom.version>2.18.9</jackson-bom.version>
501501
<junit.version>5.11.4</junit.version>
502502
<lombok.version>1.18.46</lombok.version>
503503
<okhttp3.version>4.12.0</okhttp3.version>
@@ -527,6 +527,14 @@
527527
<!-- 依赖版本统一管理(dependencyManagement) -->
528528
<dependencyManagement>
529529
<dependencies>
530+
<!-- For Jackson BOM -->
531+
<dependency>
532+
<groupId>com.fasterxml.jackson</groupId>
533+
<artifactId>jackson-bom</artifactId>
534+
<version>${jackson-bom.version}</version>
535+
<type>pom</type>
536+
<scope>import</scope>
537+
</dependency>
530538
<dependency>
531539
<groupId>io.github.easy4j</groupId>
532540
<artifactId>okhttp3-extension</artifactId>
@@ -549,12 +557,6 @@
549557
<artifactId>mockwebserver</artifactId>
550558
<version>${okhttp3.version}</version>
551559
</dependency>
552-
<!-- For Jackson -->
553-
<dependency>
554-
<groupId>com.fasterxml.jackson.core</groupId>
555-
<artifactId>jackson-databind</artifactId>
556-
<version>${jackson.version}</version>
557-
</dependency>
558560
<!-- For Commons Exec -->
559561
<dependency>
560562
<groupId>org.apache.commons</groupId>

0 commit comments

Comments
 (0)