Skip to content

Commit fb13eb0

Browse files
committed
chore(deps): downgrade caffeine and update test dependencies
- Downgrade caffeine version from 3.1.8 to 2.9.3 - Update junit version from 5.10.1 to 5.9.3 - Add junit-platform.version 1.9.3 - Downgrade mockito version from 5.8.0 to 4.11.0 - Exclude junit dependencies from spring-boot-starter-test - Explicitly declare junit-jupiter and junit-platform dependencies with test scope
1 parent fb799d1 commit fb13eb0

1 file changed

Lines changed: 48 additions & 3 deletions

File tree

pom.xml

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,17 @@
2929
<opentelemetry.version>1.34.1</opentelemetry.version>
3030
<okhttp.version>4.12.0</okhttp.version>
3131
<jackson.version>2.16.1</jackson.version>
32-
<caffeine.version>3.1.8</caffeine.version>
32+
<caffeine.version>2.9.3</caffeine.version>
3333
<commons-text.version>1.11.0</commons-text.version>
3434
<jinjava.version>2.7.1</jinjava.version>
3535
<jjwt.version>0.12.5</jjwt.version>
3636
<slf4j.version>2.0.11</slf4j.version>
3737
<spring-boot.version>2.7.18</spring-boot.version>
3838

3939
<!-- Test dependency versions -->
40-
<junit.version>5.10.1</junit.version>
41-
<mockito.version>5.8.0</mockito.version>
40+
<junit.version>5.9.3</junit.version>
41+
<junit-platform.version>1.9.3</junit-platform.version>
42+
<mockito.version>4.11.0</mockito.version>
4243
<assertj.version>3.25.1</assertj.version>
4344

4445
<!-- Plugin versions -->
@@ -68,6 +69,20 @@
6869
<version>${spring-boot.version}</version>
6970
<type>pom</type>
7071
<scope>import</scope>
72+
<exclusions>
73+
<exclusion>
74+
<groupId>org.junit.jupiter</groupId>
75+
<artifactId>junit-jupiter</artifactId>
76+
</exclusion>
77+
<exclusion>
78+
<groupId>org.junit.platform</groupId>
79+
<artifactId>junit-platform-commons</artifactId>
80+
</exclusion>
81+
<exclusion>
82+
<groupId>org.junit.platform</groupId>
83+
<artifactId>junit-platform-engine</artifactId>
84+
</exclusion>
85+
</exclusions>
7186
</dependency>
7287

7388
<!-- HTTP Client -->
@@ -146,6 +161,36 @@
146161
<version>${junit.version}</version>
147162
<scope>test</scope>
148163
</dependency>
164+
<dependency>
165+
<groupId>org.junit.jupiter</groupId>
166+
<artifactId>junit-jupiter-api</artifactId>
167+
<version>${junit.version}</version>
168+
<scope>test</scope>
169+
</dependency>
170+
<dependency>
171+
<groupId>org.junit.jupiter</groupId>
172+
<artifactId>junit-jupiter-params</artifactId>
173+
<version>${junit.version}</version>
174+
<scope>test</scope>
175+
</dependency>
176+
<dependency>
177+
<groupId>org.junit.jupiter</groupId>
178+
<artifactId>junit-jupiter-engine</artifactId>
179+
<version>${junit.version}</version>
180+
<scope>test</scope>
181+
</dependency>
182+
<dependency>
183+
<groupId>org.junit.platform</groupId>
184+
<artifactId>junit-platform-commons</artifactId>
185+
<version>${junit-platform.version}</version>
186+
<scope>test</scope>
187+
</dependency>
188+
<dependency>
189+
<groupId>org.junit.platform</groupId>
190+
<artifactId>junit-platform-engine</artifactId>
191+
<version>${junit-platform.version}</version>
192+
<scope>test</scope>
193+
</dependency>
149194
<dependency>
150195
<groupId>org.mockito</groupId>
151196
<artifactId>mockito-core</artifactId>

0 commit comments

Comments
 (0)