Skip to content

Commit a63577c

Browse files
authored
Upgrade jackson to 2.13.x and use their BOM (#94)
See FasterXML/jackson-databind#3428 for why the BOM version has a date suffix.
1 parent 7475d79 commit a63577c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

pom.xml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<slf4j-api.version>1.7.12</slf4j-api.version>
9797
<mockito-core.version>3.2.4</mockito-core.version>
9898
<commons-io.version>2.6</commons-io.version>
99-
<jackson.version>2.8.9</jackson.version>
99+
<jackson.version>2.13.2.20220328</jackson.version>
100100
<immutables.version>2.8.3</immutables.version>
101101
<powermock.version>2.0.2</powermock.version>
102102
<objenesis.version>3.0.1</objenesis.version>
@@ -112,6 +112,13 @@
112112
<artifactId>objenesis</artifactId>
113113
<version>${objenesis.version}</version>
114114
</dependency>
115+
<dependency>
116+
<groupId>com.fasterxml.jackson</groupId>
117+
<artifactId>jackson-bom</artifactId>
118+
<version>${jackson.version}</version>
119+
<scope>import</scope>
120+
<type>pom</type>
121+
</dependency>
115122
</dependencies>
116123
</dependencyManagement>
117124

@@ -144,27 +151,22 @@
144151
<dependency>
145152
<groupId>com.fasterxml.jackson.core</groupId>
146153
<artifactId>jackson-annotations</artifactId>
147-
<version>2.11.0</version>
148154
</dependency>
149155
<dependency>
150156
<groupId>com.fasterxml.jackson.core</groupId>
151157
<artifactId>jackson-databind</artifactId>
152-
<version>2.11.0</version>
153158
</dependency>
154159
<dependency>
155160
<groupId>com.fasterxml.jackson.module</groupId>
156161
<artifactId>jackson-module-parameter-names</artifactId>
157-
<version>${jackson.version}</version>
158162
</dependency>
159163
<dependency>
160164
<groupId>com.fasterxml.jackson.datatype</groupId>
161165
<artifactId>jackson-datatype-jdk8</artifactId>
162-
<version>${jackson.version}</version>
163166
</dependency>
164167
<dependency>
165168
<groupId>com.fasterxml.jackson.datatype</groupId>
166169
<artifactId>jackson-datatype-jsr310</artifactId>
167-
<version>${jackson.version}</version>
168170
</dependency>
169171
<dependency>
170172
<groupId>io.jsonwebtoken</groupId>

0 commit comments

Comments
 (0)