Skip to content

Commit aa5f3ef

Browse files
committed
Pin transitive joda-time dependency
1 parent c1361f1 commit aa5f3ef

File tree

1 file changed

+26
-11
lines changed

1 file changed

+26
-11
lines changed

pom.xml

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
<guava.version>33.4.5-jre</guava.version>
9999
<httpclient.version>4.5.14</httpclient.version>
100100
<jackson.version>2.18.3</jackson.version>
101+
<joda-time.version>2.12.7</joda-time.version>
101102
<kotlin.version>2.1.20</kotlin.version>
102103
<snakeyaml.version>2.4</snakeyaml.version>
103104
<slf4j.version>2.0.17</slf4j.version>
@@ -120,14 +121,6 @@
120121
</dependency>
121122

122123
<!-- External dependencies -->
123-
<dependency>
124-
<groupId>org.apache.logging.log4j</groupId>
125-
<artifactId>log4j-bom</artifactId>
126-
<version>${log4j.version}</version>
127-
<type>pom</type>
128-
<scope>import</scope>
129-
</dependency>
130-
131124
<dependency>
132125
<groupId>com.lmax</groupId>
133126
<artifactId>disruptor</artifactId>
@@ -198,6 +191,14 @@
198191
<version>${httpclient.version}</version>
199192
</dependency>
200193

194+
<!-- Transitive dependency of multiple dependencies -->
195+
<!-- We fix a common version -->
196+
<dependency>
197+
<groupId>joda-time</groupId>
198+
<artifactId>joda-time</artifactId>
199+
<version>${joda-time.version}</version>
200+
</dependency>
201+
201202
<!-- Transitive dependency of multiple dependencies -->
202203
<!-- We fix a common version -->
203204
<dependency>
@@ -206,6 +207,18 @@
206207
<version>${snakeyaml.version}</version>
207208
</dependency>
208209

210+
<dependency>
211+
<groupId>com.github.spotbugs</groupId>
212+
<artifactId>spotbugs-annotations</artifactId>
213+
<version>${spotbugs-annotations.version}</version>
214+
</dependency>
215+
216+
<!--
217+
~ BOMs
218+
~
219+
~ BOMs are placed at the end, to they don't override the versions above.
220+
~ This is especially important for the very opinionated `spring-boot-dependencies`.
221+
-->
209222
<!-- Transitive dependency of multiple dependencies -->
210223
<!-- We fix a common version -->
211224
<dependency>
@@ -227,9 +240,11 @@
227240
</dependency>
228241

229242
<dependency>
230-
<groupId>com.github.spotbugs</groupId>
231-
<artifactId>spotbugs-annotations</artifactId>
232-
<version>${spotbugs-annotations.version}</version>
243+
<groupId>org.apache.logging.log4j</groupId>
244+
<artifactId>log4j-bom</artifactId>
245+
<version>${log4j.version}</version>
246+
<type>pom</type>
247+
<scope>import</scope>
233248
</dependency>
234249

235250
<dependency>

0 commit comments

Comments
 (0)