Skip to content

Commit f6e30de

Browse files
committed
Use Maven BOM for Jackson and JUnit
This ensures that all versions of each respective library ecosystem stay consistent. In the case of Jackson, we previously had a mixture of 2.18.x and 2.19.x. Signed-off-by: nscuro <[email protected]>
1 parent a67f6f2 commit f6e30de

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

pom.xml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,26 @@
144144
</pluginRepository>
145145
</pluginRepositories>
146146

147+
<dependencyManagement>
148+
<dependencies>
149+
<dependency>
150+
<groupId>com.fasterxml.jackson</groupId>
151+
<artifactId>jackson-bom</artifactId>
152+
<version>2.19.2</version>
153+
<scope>import</scope>
154+
<type>pom</type>
155+
</dependency>
156+
157+
<dependency>
158+
<groupId>org.junit</groupId>
159+
<artifactId>junit-bom</artifactId>
160+
<version>5.13.4</version>
161+
<scope>import</scope>
162+
<type>pom</type>
163+
</dependency>
164+
</dependencies>
165+
</dependencyManagement>
166+
147167
<dependencies>
148168
<!-- Apache Commons -->
149169
<dependency>
@@ -181,7 +201,6 @@
181201
<dependency>
182202
<groupId>com.fasterxml.jackson.dataformat</groupId>
183203
<artifactId>jackson-dataformat-xml</artifactId>
184-
<version>2.19.1</version>
185204
</dependency>
186205

187206
<!-- JSON Schema library -->
@@ -204,14 +223,12 @@
204223
<dependency>
205224
<groupId>org.junit.jupiter</groupId>
206225
<artifactId>junit-jupiter-engine</artifactId>
207-
<version>5.13.3</version>
208226
<scope>test</scope>
209227
</dependency>
210228

211229
<dependency>
212230
<groupId>org.junit.jupiter</groupId>
213231
<artifactId>junit-jupiter-params</artifactId>
214-
<version>5.13.3</version>
215232
<scope>test</scope>
216233
</dependency>
217234
</dependencies>

0 commit comments

Comments
 (0)