From 32340a3e0e11ce49c4405658f40568b04926264e Mon Sep 17 00:00:00 2001 From: Ryan Prayogo <57620+ryanprayogo@users.noreply.github.com> Date: Thu, 22 Aug 2024 15:56:19 -0400 Subject: [PATCH] fix: Pin byte-buddy(-agent) version to 1.14.19 to workaround Mockito issue (#1060) * fix: Add the net.bytebuddy.experimental=true system property Workaround to make Mockito tests to pass under Java 21 Signed-off-by: Ryan Prayogo <57620+ryanprayogo@users.noreply.github.com> * fix: Pin byte-buddy and byte-buddy-agent to a newer version Signed-off-by: Ryan Prayogo <57620+ryanprayogo@users.noreply.github.com> * chore: Fix maven warning about deprecated expression Signed-off-by: Ryan Prayogo <57620+ryanprayogo@users.noreply.github.com> * chore: Add comments around the Mockito workaround Signed-off-by: Ryan Prayogo <57620+ryanprayogo@users.noreply.github.com> * Update pom.xml Signed-off-by: Todd Baert --------- Signed-off-by: Ryan Prayogo <57620+ryanprayogo@users.noreply.github.com> Signed-off-by: Todd Baert Co-authored-by: Todd Baert --- pom.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a48a6c72..6923220a 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ 5.11.0 **/e2e/*.java - ${groupId}.${artifactId} + ${project.groupId}.${project.artifactId} OpenFeature Java SDK @@ -151,6 +151,24 @@ + + + + + net.bytebuddy + byte-buddy + 1.14.19 + test + + + + net.bytebuddy + byte-buddy-agent + 1.14.19 + test + + + io.cucumber cucumber-bom