This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 640880e3a ORC-1626: Upgrade `Mockito` to 5.10 and `byte-buddy` to
`1.14.11`
640880e3a is described below
commit 640880e3a13e9ab512e1c8fd5cca954bddbb3a2c
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Feb 19 11:58:21 2024 -0800
ORC-1626: Upgrade `Mockito` to 5.10 and `byte-buddy` to `1.14.11`
### What changes were proposed in this pull request?
This PR aims to unpin and upgrade
- Mockito from 4.11.0 to 5.10.0
- byte-buddy from 1.12.23 to 1.14.11
### Why are the changes needed?
To bring the latest bug fixes and improvement in test framework for Apache
ORC 2.0.0.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #1810 from dongjoon-hyun/ORC-1626.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 30deaad782e6be146ba1c64ed2e547972a1e84a1)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/dependabot.yml | 6 ------
java/pom.xml | 6 +++---
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index f84febd6e..13fd2a5d2 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -32,9 +32,3 @@ updates:
# Pin annotations to 17.0.0
- dependency-name: "org.jetbrains.annotations"
versions: "[17.0.1,)"
- # Pin mockito to 4.x
- - dependency-name: "org.mockito"
- versions: "[5.0.0,)"
- # Pin byte-buddy to 1.12.x aline with mockito
- - dependency-name: "net.bytebuddy"
- versions: "[1.13.0,)"
diff --git a/java/pom.xml b/java/pom.xml
index 9dafc637e..15f2cfffa 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -74,7 +74,7 @@
<maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation>
<maven.version>3.9.6</maven.version>
- <mockito.version>4.11.0</mockito.version>
+ <mockito.version>5.10.0</mockito.version>
<orc-format.version>1.0.0</orc-format.version>
<!-- Build Properties -->
<project.build.outputTimestamp>2023-05-15T16:29:49Z</project.build.outputTimestamp>
@@ -256,13 +256,13 @@
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
- <version>1.12.23</version>
+ <version>1.14.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
- <version>1.12.23</version>
+ <version>1.14.11</version>
<scope>test</scope>
</dependency>
<dependency>