From 62313112cf7a64a771cf7dc95c4eadceaf22bb1a Mon Sep 17 00:00:00 2001 From: "Benito J. Gonzalez" Date: Thu, 30 Apr 2026 18:48:17 -0700 Subject: [PATCH] chore: cap com.jayway.jsonpath:json-path Renovate to < 3 (Java 17 floor) json-path 3.x raised its build-time floor to Java 17 and only publishes Java 17+ class-file variants. NotificationPortlet builds on the fleet's Java 11 floor (per CLAUDE.md), so any json-path 3 bump fails Gradle dependency resolution with 'No matching variant ... compatible with Java X' before any compile happens. Renovate has been opening json-path 3 PRs (most recently #685) that sit unmergeable. Adding a cap so the bot stops creating them. Same shape as the existing Spring/Hibernate/Jakarta caps in this file: revisit once the fleet moves to Java 17 as part of the Spring 6 / Jakarta EE migration. Changes: - renovate.json: add packageRule for com.jayway.jsonpath:json-path with allowedVersions: '< 3.0'. --- renovate.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/renovate.json b/renovate.json index 060c61dd..a453dcb1 100644 --- a/renovate.json +++ b/renovate.json @@ -61,6 +61,11 @@ "matchManagers": ["gradle-wrapper"], "allowedVersions": "< 9.0", "description": "Gradle 9 requires Java 17; this portlet builds on the fleet's Java 11 floor. Revisit when the fleet moves to Java 17 (gated on the Spring 6 / Jakarta EE migration)." + }, + { + "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." } ] }