chore: cap com.jayway.jsonpath:json-path Renovate to < 3 (Java 17 floor)#688
Merged
Merged
Conversation
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 uPortal-Project#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'.
ChristianMurphy
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stops Renovate from creating PRs that bump
com.jayway.jsonpath:json-pathto 3.x. Most recently surfaced as #685 which has been sitting unmergeable.Why
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 the workspace
CLAUDE.md), so any 3.x bump fails Gradle dependency resolution with 'No matching variant ... compatible with Java X' before reaching compile.Same shape as the existing Spring 5+, Hibernate 6+, Jakarta, and Gradle 9 caps already in this file: revisit once the fleet moves to Java 17 as part of the Spring 6 / Jakarta EE migration.
This is independent of #687 (
sourceCompatibility = 11). #687 unblocks Guava 33 and the Jackson patch line — those publish Java 11 variants. json-path 3 needs the full Java 17 jump.Changes
renovate.json: add apackageRuleforcom.jayway.jsonpath:json-pathwithallowedVersions: '< 3.0'and a description explaining the Java 17 gate.Test plan
python3 -m json.tool renovate.json— parses cleanly