You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by pg...@apache.org on 2020/11/21 20:18:17 UTC

[orc] branch master updated: ORC-687: Upgrade to JUnit5 (#571)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4e03aa2  ORC-687: Upgrade to JUnit5 (#571)
4e03aa2 is described below

commit 4e03aa269df735f78ecd8b4774245371146b599b
Author: William Hyun <62...@users.noreply.github.com>
AuthorDate: Sat Nov 21 12:18:10 2020 -0800

    ORC-687: Upgrade to JUnit5 (#571)
---
 java/core/pom.xml      |  9 +++++++--
 java/mapreduce/pom.xml |  9 +++++++--
 java/pom.xml           | 12 +++++++++---
 java/shims/pom.xml     |  9 +++++++--
 java/tools/pom.xml     |  9 +++++++--
 5 files changed, 37 insertions(+), 11 deletions(-)

diff --git a/java/core/pom.xml b/java/core/pom.xml
index 290c4a8..4092d9a 100644
--- a/java/core/pom.xml
+++ b/java/core/pom.xml
@@ -87,8 +87,13 @@
       <scope>test</scope>
     </dependency>
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/java/mapreduce/pom.xml b/java/mapreduce/pom.xml
index 4c44292..dc44c63 100644
--- a/java/mapreduce/pom.xml
+++ b/java/mapreduce/pom.xml
@@ -70,8 +70,13 @@
 
     <!-- test inter-project -->
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/java/pom.xml b/java/pom.xml
index 52d0154..30782a4 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -690,9 +690,15 @@
         <scope>test</scope>
       </dependency>
       <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>4.13.1</version>
+        <groupId>org.junit.jupiter</groupId>
+        <artifactId>junit-jupiter-engine</artifactId>
+        <version>5.7.0</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.junit.vintage</groupId>
+        <artifactId>junit-vintage-engine</artifactId>
+        <version>5.7.0</version>
         <scope>test</scope>
       </dependency>
       <dependency>
diff --git a/java/shims/pom.xml b/java/shims/pom.xml
index f9964c8..138fbc7 100644
--- a/java/shims/pom.xml
+++ b/java/shims/pom.xml
@@ -55,8 +55,13 @@
 
     <!-- test inter-project -->
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
       <scope>test</scope>
     </dependency>
   </dependencies>
diff --git a/java/tools/pom.xml b/java/tools/pom.xml
index 35093d4..b33e2d3 100644
--- a/java/tools/pom.xml
+++ b/java/tools/pom.xml
@@ -91,8 +91,13 @@
 
     <!-- test inter-project -->
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
       <scope>test</scope>
     </dependency>
   </dependencies>