Skip to content

chore: cap com.jayway.jsonpath:json-path Renovate to < 3 (Java 17 floor)#688

Merged
bjagg merged 1 commit into
uPortal-Project:masterfrom
bjagg:chore/renovate-cap-jsonpath
May 1, 2026
Merged

chore: cap com.jayway.jsonpath:json-path Renovate to < 3 (Java 17 floor)#688
bjagg merged 1 commit into
uPortal-Project:masterfrom
bjagg:chore/renovate-cap-jsonpath

Conversation

@bjagg
Copy link
Copy Markdown
Member

@bjagg bjagg commented May 1, 2026

Stops Renovate from creating PRs that bump com.jayway.jsonpath:json-path to 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 a packageRule for com.jayway.jsonpath:json-path with allowedVersions: '< 3.0' and a description explaining the Java 17 gate.

Test plan

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'.
@bjagg bjagg merged commit 4491d3d into uPortal-Project:master May 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants