This is an automated email from the ASF dual-hosted git repository.

szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 2e34f6e45 RATIS-2322. Upgrade JUnit Jupiter to 5.13.3 and Maven 
Surefire Plugin to 3.5.3. (#1281)
2e34f6e45 is described below

commit 2e34f6e45324f5cdb319c06a80c3fcfabe0f4e4d
Author: slfan1989 <[email protected]>
AuthorDate: Thu Sep 25 00:07:20 2025 +0800

    RATIS-2322. Upgrade JUnit Jupiter to 5.13.3 and Maven Surefire Plugin to 
3.5.3. (#1281)
---
 pom.xml                       |  4 ++--
 ratis-client/pom.xml          | 11 +++++++++++
 ratis-docs/pom.xml            | 13 +++++++++++++
 ratis-metrics-api/pom.xml     | 11 +++++++++++
 ratis-netty/pom.xml           | 11 +++++++++++
 ratis-proto/pom.xml           | 10 ++++++++++
 ratis-resource-bundle/pom.xml | 13 ++++++++++++-
 ratis-server-api/pom.xml      | 11 +++++++++++
 ratis-shell/pom.xml           | 11 +++++++++++
 ratis-tools/pom.xml           | 10 ++++++++++
 10 files changed, 102 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index b93500d3c..b32c7ac1d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -173,7 +173,7 @@
     <maven-pdf-plugin.version>1.6.1</maven-pdf-plugin.version>
     
<maven-remote-resources-plugin.version>3.3.0</maven-remote-resources-plugin.version>
     <maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
-    <maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
+    <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
     <wagon-ssh.version>3.5.3</wagon-ssh.version>
     <hadoop-maven-plugins.version>3.4.0</hadoop-maven-plugins.version>
     <sonar-maven-plugin.version>5.0.0.4389</sonar-maven-plugin.version>
@@ -220,7 +220,7 @@
     <testsThreadCount>4</testsThreadCount>
 
     <slf4j.version>2.0.7</slf4j.version>
-    <junit-bom.version>5.12.2</junit-bom.version>
+    <junit-bom.version>5.13.3</junit-bom.version>
     <mockito.version>4.11.0</mockito.version>
     <jacoco.version>0.8.12</jacoco.version>
     <jakarta.annotation.version>1.3.5</jakarta.annotation.version>
diff --git a/ratis-client/pom.xml b/ratis-client/pom.xml
index 8a5008eaf..b73bbebbc 100644
--- a/ratis-client/pom.xml
+++ b/ratis-client/pom.xml
@@ -47,5 +47,16 @@
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
     </dependency>
+
+    <dependency>
+       <groupId>org.junit.jupiter</groupId>
+       <artifactId>junit-jupiter-engine</artifactId>
+       <scope>test</scope>
+    </dependency>
+    <dependency>
+       <groupId>org.junit.platform</groupId>
+       <artifactId>junit-platform-launcher</artifactId>
+       <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>
diff --git a/ratis-docs/pom.xml b/ratis-docs/pom.xml
index 08a86fb03..91b92f2f8 100644
--- a/ratis-docs/pom.xml
+++ b/ratis-docs/pom.xml
@@ -32,4 +32,17 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd";>
     <skipTests>true</skipTests>
   </properties>
 
+  <dependencies>
+    <dependency>
+        <groupId>org.junit.jupiter</groupId>
+        <artifactId>junit-jupiter-engine</artifactId>
+        <scope>test</scope>
+    </dependency>
+    <dependency>
+        <groupId>org.junit.platform</groupId>
+        <artifactId>junit-platform-launcher</artifactId>
+        <scope>test</scope>
+    </dependency>
+  </dependencies>
+
 </project>
diff --git a/ratis-metrics-api/pom.xml b/ratis-metrics-api/pom.xml
index ba3b36b32..b101e13f2 100644
--- a/ratis-metrics-api/pom.xml
+++ b/ratis-metrics-api/pom.xml
@@ -39,5 +39,16 @@
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
     </dependency>
+
+    <dependency>
+       <groupId>org.junit.jupiter</groupId>
+       <artifactId>junit-jupiter-engine</artifactId>
+       <scope>test</scope>
+    </dependency>
+    <dependency>
+       <groupId>org.junit.platform</groupId>
+       <artifactId>junit-platform-launcher</artifactId>
+       <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>
diff --git a/ratis-netty/pom.xml b/ratis-netty/pom.xml
index b5714a943..29480d998 100644
--- a/ratis-netty/pom.xml
+++ b/ratis-netty/pom.xml
@@ -78,5 +78,16 @@
       <artifactId>slf4j-api</artifactId>
     </dependency>
 
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.platform</groupId>
+      <artifactId>junit-platform-launcher</artifactId>
+      <scope>test</scope>
+    </dependency>
+
   </dependencies>
 </project>
diff --git a/ratis-proto/pom.xml b/ratis-proto/pom.xml
index 9a548b406..771187b58 100644
--- a/ratis-proto/pom.xml
+++ b/ratis-proto/pom.xml
@@ -179,5 +179,15 @@
       <groupId>jakarta.annotation</groupId>
       <artifactId>jakarta.annotation-api</artifactId>
     </dependency>
+    <dependency>
+        <groupId>org.junit.jupiter</groupId>
+        <artifactId>junit-jupiter-engine</artifactId>
+        <scope>test</scope>
+    </dependency>
+    <dependency>
+        <groupId>org.junit.platform</groupId>
+        <artifactId>junit-platform-launcher</artifactId>
+        <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>
diff --git a/ratis-resource-bundle/pom.xml b/ratis-resource-bundle/pom.xml
index 3403fab8f..5a3d1ff87 100644
--- a/ratis-resource-bundle/pom.xml
+++ b/ratis-resource-bundle/pom.xml
@@ -36,7 +36,18 @@
     <maven.test.skip>true</maven.test.skip>
   </properties>
   <!-- hack until we break things out into a project pom and parent pom -->
-  <dependencies/>
+  <dependencies>
+      <dependency>
+          <groupId>org.junit.jupiter</groupId>
+          <artifactId>junit-jupiter-engine</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.junit.platform</groupId>
+          <artifactId>junit-platform-launcher</artifactId>
+          <scope>test</scope>
+      </dependency>
+  </dependencies>
   <build>
     <plugins>
       <plugin>
diff --git a/ratis-server-api/pom.xml b/ratis-server-api/pom.xml
index 812da9f02..889277c14 100644
--- a/ratis-server-api/pom.xml
+++ b/ratis-server-api/pom.xml
@@ -52,5 +52,16 @@
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
     </dependency>
+
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.platform</groupId>
+      <artifactId>junit-platform-launcher</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>
diff --git a/ratis-shell/pom.xml b/ratis-shell/pom.xml
index 7b4534a60..ab2a3da2a 100644
--- a/ratis-shell/pom.xml
+++ b/ratis-shell/pom.xml
@@ -53,6 +53,17 @@
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-simple</artifactId>
     </dependency>
+
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.platform</groupId>
+      <artifactId>junit-platform-launcher</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
     <plugins>
diff --git a/ratis-tools/pom.xml b/ratis-tools/pom.xml
index 0fe13f402..f1d0c33d9 100644
--- a/ratis-tools/pom.xml
+++ b/ratis-tools/pom.xml
@@ -41,5 +41,15 @@
       <groupId>org.apache.ratis</groupId>
       <artifactId>ratis-common</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.platform</groupId>
+      <artifactId>junit-platform-launcher</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>

Reply via email to