You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2021/08/08 19:51:44 UTC

[orc] branch branch-1.7 updated: ORC-920: Use junit.version and mockito.version property and bump junit to 5.7.2 (#832)

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

dongjoon pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.7 by this push:
     new c3bd72f  ORC-920: Use junit.version and mockito.version property and bump junit to 5.7.2 (#832)
c3bd72f is described below

commit c3bd72f8cfbaa0d097a96e202acf606c28c777b1
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Sun Aug 8 10:08:16 2021 -0700

    ORC-920: Use junit.version and mockito.version property and bump junit to 5.7.2 (#832)
    
    ### What changes were proposed in this pull request?
    
    This PR aims to define `junit.version` and `mockito.version` properties and use it.
    In addition, `junit.version` is updated to 5.7.2.
    
    ### Why are the changes needed?
    
    Currently, `Dependabot` makes separate PRs per dependencies.
    This will advise it to make one PR in the future.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    Closes #831
    
    (cherry picked from commit 60661a642bfa0b496215b2ce2d6c49bb13679fef)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 java/pom.xml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/java/pom.xml b/java/pom.xml
index 53cb962..42f94c6 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -80,6 +80,8 @@
     <slf4j.version>1.7.30</slf4j.version>
     <protoc.artifact>com.google.protobuf:protoc:2.5.0</protoc.artifact>
     <surefire.version>3.0.0-M5</surefire.version>
+    <junit.version>5.7.2</junit.version>
+    <mockito.version>3.11.2</mockito.version>
   </properties>
 
   <build>
@@ -790,25 +792,25 @@
       <dependency>
         <groupId>org.junit.jupiter</groupId>
         <artifactId>junit-jupiter-api</artifactId>
-        <version>5.7.0</version>
+        <version>${junit.version}</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.junit.jupiter</groupId>
         <artifactId>junit-jupiter-params</artifactId>
-        <version>5.7.0</version>
+        <version>${junit.version}</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.mockito</groupId>
         <artifactId>mockito-core</artifactId>
-        <version>3.11.2</version>
+        <version>${mockito.version}</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.mockito</groupId>
         <artifactId>mockito-junit-jupiter</artifactId>
-        <version>3.11.2</version>
+        <version>${mockito.version}</version>
         <scope>test</scope>
       </dependency>
       <dependency>