From 8b7cffbe4914c354b25b8108d048f887d2a9397c Mon Sep 17 00:00:00 2001 From: Warrior <50800980+Warriorrrr@users.noreply.github.com> Date: Sat, 17 Jan 2026 21:38:28 +0100 Subject: [PATCH] Bump mockito version to fix compiling on java 25 (#5247) --- pom.xml | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 4ee43d00a..8d0240bc1 100644 --- a/pom.xml +++ b/pom.xml @@ -89,6 +89,17 @@ UTF-8 + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + maven-surefire-plugin 3.2.5 @@ -97,6 +108,8 @@ org.junit.jupiter:junit-jupiter false skip + + -javaagent:${org.mockito:mockito-core:jar} @@ -290,12 +303,26 @@ assertj-core 3.25.3 test + + + + net.bytebuddy + byte-buddy + + net.dmulloy2 ProtocolLib 5.3.0 compile + + + + net.bytebuddy + byte-buddy + + com.h2database @@ -506,13 +533,7 @@ org.mockito mockito-core - 5.12.0 - test - - - org.mockito - mockito-inline - 5.2.0 + 5.21.0 test