Skip to content

Commit 2e34f6e

Browse files
authored
RATIS-2322. Upgrade JUnit Jupiter to 5.13.3 and Maven Surefire Plugin to 3.5.3. (#1281)
1 parent 40539ec commit 2e34f6e

File tree

10 files changed

+102
-3
lines changed

10 files changed

+102
-3
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
<maven-pdf-plugin.version>1.6.1</maven-pdf-plugin.version>
174174
<maven-remote-resources-plugin.version>3.3.0</maven-remote-resources-plugin.version>
175175
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
176-
<maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
176+
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
177177
<wagon-ssh.version>3.5.3</wagon-ssh.version>
178178
<hadoop-maven-plugins.version>3.4.0</hadoop-maven-plugins.version>
179179
<sonar-maven-plugin.version>5.0.0.4389</sonar-maven-plugin.version>
@@ -220,7 +220,7 @@
220220
<testsThreadCount>4</testsThreadCount>
221221

222222
<slf4j.version>2.0.7</slf4j.version>
223-
<junit-bom.version>5.12.2</junit-bom.version>
223+
<junit-bom.version>5.13.3</junit-bom.version>
224224
<mockito.version>4.11.0</mockito.version>
225225
<jacoco.version>0.8.12</jacoco.version>
226226
<jakarta.annotation.version>1.3.5</jakarta.annotation.version>

ratis-client/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,16 @@
4747
<groupId>org.slf4j</groupId>
4848
<artifactId>slf4j-api</artifactId>
4949
</dependency>
50+
51+
<dependency>
52+
<groupId>org.junit.jupiter</groupId>
53+
<artifactId>junit-jupiter-engine</artifactId>
54+
<scope>test</scope>
55+
</dependency>
56+
<dependency>
57+
<groupId>org.junit.platform</groupId>
58+
<artifactId>junit-platform-launcher</artifactId>
59+
<scope>test</scope>
60+
</dependency>
5061
</dependencies>
5162
</project>

ratis-docs/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,17 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
3232
<skipTests>true</skipTests>
3333
</properties>
3434

35+
<dependencies>
36+
<dependency>
37+
<groupId>org.junit.jupiter</groupId>
38+
<artifactId>junit-jupiter-engine</artifactId>
39+
<scope>test</scope>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.junit.platform</groupId>
43+
<artifactId>junit-platform-launcher</artifactId>
44+
<scope>test</scope>
45+
</dependency>
46+
</dependencies>
47+
3548
</project>

ratis-metrics-api/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,16 @@
3939
<groupId>org.slf4j</groupId>
4040
<artifactId>slf4j-api</artifactId>
4141
</dependency>
42+
43+
<dependency>
44+
<groupId>org.junit.jupiter</groupId>
45+
<artifactId>junit-jupiter-engine</artifactId>
46+
<scope>test</scope>
47+
</dependency>
48+
<dependency>
49+
<groupId>org.junit.platform</groupId>
50+
<artifactId>junit-platform-launcher</artifactId>
51+
<scope>test</scope>
52+
</dependency>
4253
</dependencies>
4354
</project>

ratis-netty/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,16 @@
7878
<artifactId>slf4j-api</artifactId>
7979
</dependency>
8080

81+
<dependency>
82+
<groupId>org.junit.jupiter</groupId>
83+
<artifactId>junit-jupiter-engine</artifactId>
84+
<scope>test</scope>
85+
</dependency>
86+
<dependency>
87+
<groupId>org.junit.platform</groupId>
88+
<artifactId>junit-platform-launcher</artifactId>
89+
<scope>test</scope>
90+
</dependency>
91+
8192
</dependencies>
8293
</project>

ratis-proto/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,15 @@
179179
<groupId>jakarta.annotation</groupId>
180180
<artifactId>jakarta.annotation-api</artifactId>
181181
</dependency>
182+
<dependency>
183+
<groupId>org.junit.jupiter</groupId>
184+
<artifactId>junit-jupiter-engine</artifactId>
185+
<scope>test</scope>
186+
</dependency>
187+
<dependency>
188+
<groupId>org.junit.platform</groupId>
189+
<artifactId>junit-platform-launcher</artifactId>
190+
<scope>test</scope>
191+
</dependency>
182192
</dependencies>
183193
</project>

ratis-resource-bundle/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,18 @@
3636
<maven.test.skip>true</maven.test.skip>
3737
</properties>
3838
<!-- hack until we break things out into a project pom and parent pom -->
39-
<dependencies/>
39+
<dependencies>
40+
<dependency>
41+
<groupId>org.junit.jupiter</groupId>
42+
<artifactId>junit-jupiter-engine</artifactId>
43+
<scope>test</scope>
44+
</dependency>
45+
<dependency>
46+
<groupId>org.junit.platform</groupId>
47+
<artifactId>junit-platform-launcher</artifactId>
48+
<scope>test</scope>
49+
</dependency>
50+
</dependencies>
4051
<build>
4152
<plugins>
4253
<plugin>

ratis-server-api/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,16 @@
5252
<groupId>org.slf4j</groupId>
5353
<artifactId>slf4j-api</artifactId>
5454
</dependency>
55+
56+
<dependency>
57+
<groupId>org.junit.jupiter</groupId>
58+
<artifactId>junit-jupiter-engine</artifactId>
59+
<scope>test</scope>
60+
</dependency>
61+
<dependency>
62+
<groupId>org.junit.platform</groupId>
63+
<artifactId>junit-platform-launcher</artifactId>
64+
<scope>test</scope>
65+
</dependency>
5566
</dependencies>
5667
</project>

ratis-shell/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@
5353
<groupId>org.slf4j</groupId>
5454
<artifactId>slf4j-simple</artifactId>
5555
</dependency>
56+
57+
<dependency>
58+
<groupId>org.junit.jupiter</groupId>
59+
<artifactId>junit-jupiter-engine</artifactId>
60+
<scope>test</scope>
61+
</dependency>
62+
<dependency>
63+
<groupId>org.junit.platform</groupId>
64+
<artifactId>junit-platform-launcher</artifactId>
65+
<scope>test</scope>
66+
</dependency>
5667
</dependencies>
5768
<build>
5869
<plugins>

ratis-tools/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,15 @@
4141
<groupId>org.apache.ratis</groupId>
4242
<artifactId>ratis-common</artifactId>
4343
</dependency>
44+
<dependency>
45+
<groupId>org.junit.jupiter</groupId>
46+
<artifactId>junit-jupiter-engine</artifactId>
47+
<scope>test</scope>
48+
</dependency>
49+
<dependency>
50+
<groupId>org.junit.platform</groupId>
51+
<artifactId>junit-platform-launcher</artifactId>
52+
<scope>test</scope>
53+
</dependency>
4454
</dependencies>
4555
</project>

0 commit comments

Comments
 (0)