You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/10/15 16:06:04 UTC

[camel] branch main updated: Upgrade to Mockito 5.6.0 (#11722)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new fd1b0895cc9 Upgrade to Mockito 5.6.0 (#11722)
fd1b0895cc9 is described below

commit fd1b0895cc937713f46516e80f83a41ef9c284a9
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Oct 15 18:05:54 2023 +0200

    Upgrade to Mockito 5.6.0 (#11722)
    
    * Upgrade to Mockito 5.6.0
---
 catalog/camel-report-maven-plugin/pom.xml        | 2 +-
 components/camel-box/camel-box-component/pom.xml | 6 ------
 parent/pom.xml                                   | 2 +-
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/catalog/camel-report-maven-plugin/pom.xml b/catalog/camel-report-maven-plugin/pom.xml
index 305926fef88..7e9718fc42c 100644
--- a/catalog/camel-report-maven-plugin/pom.xml
+++ b/catalog/camel-report-maven-plugin/pom.xml
@@ -213,7 +213,7 @@
         </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
-            <artifactId>mockito-inline</artifactId>
+            <artifactId>mockito-core</artifactId>
             <version>${mockito-version}</version>
             <scope>test</scope>
         </dependency>
diff --git a/components/camel-box/camel-box-component/pom.xml b/components/camel-box/camel-box-component/pom.xml
index 625aa948a8a..ca8fc264929 100644
--- a/components/camel-box/camel-box-component/pom.xml
+++ b/components/camel-box/camel-box-component/pom.xml
@@ -84,12 +84,6 @@
             <version>${mockito-version}</version>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-inline</artifactId>
-            <version>${mockito-version}</version>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/parent/pom.xml b/parent/pom.xml
index 0c1e6aba972..ff34406c88a 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -341,7 +341,7 @@
         <minio-version>8.5.6</minio-version>
         <mock-javamail-version>1.9</mock-javamail-version>
         <mockwebserver-version>0.2.2</mockwebserver-version>
-        <mockito-version>5.2.0</mockito-version>
+        <mockito-version>5.6.0</mockito-version>
         <mongo-java-driver-version>4.10.2</mongo-java-driver-version>
         <mongo-hadoop-version>1.5.0</mongo-hadoop-version>
         <msal4j-version>1.13.9</msal4j-version>