From a2690c11560a698c017bedd6960abf7bb7efeb8f Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Fri, 21 Aug 2026 15:56:37 -0400 Subject: [PATCH] chore(renovate): pin JUnit platform < 6.0 (Java 17 floor) JUnit 6 (junit-framework) requires Java 17+. This portlet builds on Java 11 and uses the JUnit 5.x vintage engine to run JUnit 4 tests. Block all org.junit.vintage, org.junit.jupiter, org.junit.platform, and org.junit:junit-bom from upgrading to 6.x. Closes GH-690 --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/renovate.json b/renovate.json index a453dcb1..0207f99b 100644 --- a/renovate.json +++ b/renovate.json @@ -66,6 +66,12 @@ "matchPackageNames": ["com.jayway.jsonpath:json-path"], "allowedVersions": "< 3.0", "description": "json-path 3.x raised its build-time floor to Java 17 and only publishes Java 17+ class-file variants. This portlet builds on the fleet's Java 11 floor. Revisit when the fleet moves to Java 17." + }, + { + "matchPackagePrefixes": ["org.junit.vintage:", "org.junit.jupiter:", "org.junit.platform:"], + "matchPackageNames": ["org.junit:junit-bom"], + "allowedVersions": "< 6.0", + "description": "JUnit 6 (junit-framework) requires Java 17+. This portlet builds on Java 11 and uses the JUnit 5.x vintage engine to run JUnit 4 tests. Stay on the 5.x platform line." } ] }