From 0fbd4d480f3b1f7d9ed4398cffb6f3e5b87a8408 Mon Sep 17 00:00:00 2001
From: rcbjBlueMars <9321971+rcbjBlueMars@users.noreply.github.com>
Date: Thu, 5 Nov 2026 18:40:07 -0800
Subject: [PATCH] Move JUnit to 6 and Surefire to 3 (#32)
JUnit 6 needs a newer Surefire than 2.22.2, which fails with `NoClassDefFoundError: org/junit/platform/commons/util/PreconditionViolationException`. Moves JUnit Jupiter to 6.1.3 and maven-surefire-plugin to 3.6.1 together, in the library and demo modules. JUnit 6 needs Java 17, which these modules already target. Test scope only; the library does not change. No live sign-in against iya-sts was run.
---
demo/pom.xml | 4 ++--
library/pom.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/demo/pom.xml b/demo/pom.xml
index d31c887..73191a6 100644
--- a/demo/pom.xml
+++ b/demo/pom.xml
@@ -19,7 +19,7 @@
org.junit.jupiter
junit-jupiter
- 5.10.2
+ 6.1.3
test
@@ -31,7 +31,7 @@
maven-surefire-plugin
- 2.22.2
+ 3.6.1
${project.basedir}/..
diff --git a/library/pom.xml b/library/pom.xml
index 8983f75..b7b0b10 100644
--- a/library/pom.xml
+++ b/library/pom.xml
@@ -49,7 +49,7 @@
org.junit.jupiter
junit-jupiter
- 5.10.2
+ 6.1.3
test
@@ -61,7 +61,7 @@
maven-surefire-plugin
- 2.22.2
+ 3.6.1