From 9f07db4990c90585ebd78511271a7faa55776412 Mon Sep 17 00:00:00 2001 From: James Maes Date: Thu, 5 Nov 2026 05:46:46 -0600 Subject: [PATCH 1/2] build: require the published QQQ 4.1 core (4.1.0-RC.21) Import qqq-bom-pom 4.1.0-RC.21 unconditionally ahead of the parent's BOM and port the test base to the 4.1 API: QInstance.setAuthentication no longer exists, so BaseTest uses withInstanceDefaultAuthentication. The development revision and the parent are unchanged. Co-Authored-By: Claude Sonnet 5.5 --- pom.xml | 14 ++++++++++++++ .../java/com/kingsrook/qbits/wms/BaseTest.java | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8b06b6c..12c83df 100644 --- a/pom.xml +++ b/pom.xml @@ -30,8 +30,22 @@ 0.2.0-SNAPSHOT UTF-8 + 4.1.0-RC.21 + + + + + com.kingsrook.qqq + qqq-bom-pom + ${qqq.version} + pom + import + + + + diff --git a/src/test/java/com/kingsrook/qbits/wms/BaseTest.java b/src/test/java/com/kingsrook/qbits/wms/BaseTest.java index 3f9a55c..3e60c39 100644 --- a/src/test/java/com/kingsrook/qbits/wms/BaseTest.java +++ b/src/test/java/com/kingsrook/qbits/wms/BaseTest.java @@ -131,7 +131,7 @@ public class BaseTest { QInstance qInstance = new QInstance(); - qInstance.setAuthentication(new QAuthenticationMetaData().withType(QAuthenticationType.FULLY_ANONYMOUS)); + qInstance.withInstanceDefaultAuthentication(new QAuthenticationMetaData().withType(QAuthenticationType.FULLY_ANONYMOUS)); qInstance.addBackend(new QBackendMetaData() .withName(BACKEND_NAME) -- 2.54.0 From 278c357e28e914192077c23c24e22daf3e7a01f9 Mon Sep 17 00:00:00 2001 From: James Maes Date: Thu, 5 Nov 2026 07:52:56 -0600 Subject: [PATCH 2/2] build: converge JUnit on the parent's 5.10.0 so tests are discovered with the QQQ 4.1 BOM CI 4712 verify 74837 ran 0 tests: "TestEngine with ID 'junit-jupiter' failed to discover tests". The cause (reproduced with the CI Maven 3.9.11 image and read from the surefire dump) is a mixed JUnit stack: qbit-build-parent 1.4.0 manages junit-jupiter and the platform at 5.10.0, while the imported qqq-bom-pom 4.1.0-RC.21 manages junit-jupiter-engine and -params at 6.0.2, so Jupiter engine 6.0.2 runs on platform-engine 1.10.0 and fails with NoClassDefFoundError org.junit.platform.engine.support.discovery.DiscoveryIssueReporter. Import the parent's own junit-bom 5.10.0 before the QQQ BOM (first import wins) so every JUnit artifact is 5.10.0. No version is upgraded or downgraded beyond that convergence; no test, assertion, production code, JaCoCo or surefire setting changes. Co-Authored-By: Claude Sonnet 5.5 --- pom.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pom.xml b/pom.xml index 12c83df..7722783 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,17 @@ + + + org.junit + junit-bom + 5.10.0 + pom + import + com.kingsrook.qqq -- 2.54.0