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

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2df7b23af7 MINOR: [Java] Update mockito version to 5.14.2 (#44566)
2df7b23af7 is described below

commit 2df7b23af717f505c16fedbef6e4223ac163ac5a
Author: Laurent Goujon <[email protected]>
AuthorDate: Tue Oct 29 17:48:01 2024 -0700

    MINOR: [Java] Update mockito version to 5.14.2 (#44566)
    
    ### What changes are included in this PR?
    
    Update Mockito version to latest/current version (5.14.2).
    
    Also remove mockito-inline dependency as the code is now part of 
mockito-core.
    
    Fixes Java 23 compatibility
    
    ### Are these changes tested?
    
    CI/CD (no new tests)
    
    ### Are there any user-facing changes?
    
    No
    
    Authored-by: Laurent Goujon <[email protected]>
    Signed-off-by: David Li <[email protected]>
---
 java/flight/flight-sql-jdbc-core/pom.xml | 7 -------
 java/pom.xml                             | 3 +--
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/java/flight/flight-sql-jdbc-core/pom.xml 
b/java/flight/flight-sql-jdbc-core/pom.xml
index 5c893dad62..3e99e4b77a 100644
--- a/java/flight/flight-sql-jdbc-core/pom.xml
+++ b/java/flight/flight-sql-jdbc-core/pom.xml
@@ -101,13 +101,6 @@ under the License.
       <scope>test</scope>
     </dependency>
 
-    <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-inline</artifactId>
-      <version>${mockito.inline.version}</version>
-      <scope>test</scope>
-    </dependency>
-
     <dependency>
       <groupId>io.netty</groupId>
       <artifactId>netty-common</artifactId>
diff --git a/java/pom.xml b/java/pom.xml
index ff3a3f04ca..84fb967f4f 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -108,8 +108,7 @@ under the License.
     <checkstyle.version>10.18.2</checkstyle.version>
     <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
     <error_prone_core.version>2.31.0</error_prone_core.version>
-    <mockito.core.version>5.11.0</mockito.core.version>
-    <mockito.inline.version>5.2.0</mockito.inline.version>
+    <mockito.core.version>5.14.2</mockito.core.version>
     <checker.framework.version>3.48.1</checker.framework.version>
     <logback.version>1.5.11</logback.version>
     <doclint>none</doclint>

Reply via email to