Skip to content

fix(build): pin jspecify to the upper bound - #585

Open
Inf1mum wants to merge 1 commit into
cqfn:masterfrom
Inf1mum:master-fix
Open

Inf1mum wants to merge 1 commit into
cqfn:masterfrom
Inf1mum:master-fix

Conversation

@Inf1mum

@Inf1mum Inf1mum commented Nov 25, 2026

Copy link
Copy Markdown

master is red since 03c68ec (jcabi-parent 0.73.5, 2026-11-18): the mvn job fails in maven-enforcer-plugin 3.7.0, whose RequireUpperBoundDeps rule rejects the tree. junit-jupiter-params 6.0.2 pulls jspecify 1.0.0 while guava 33.8.0-jre (via jcabi-dynamo 0.22.4) needs 1.0.1.

Fix: the pin the enforcer itself suggests — jspecify 1.0.1 in dependencyManagement, moving the artifact up to the version the higher consumer already requires. Nothing else changes.

Verified on JDK 21: mvn --errors --batch-mode clean install -Pqulice fails on master at the enforcer and ends with BUILD SUCCESS on this branch — 231 tests, 0 failures, qulice clean.

jcabi-parent 0.73.5 brought maven-enforcer-plugin 3.7.0, and its
RequireUpperBoundDeps rule now rejects the build: junit-jupiter-params
6.0.2 pulls jspecify 1.0.0 while guava 33.8.0-jre (via jcabi-dynamo
0.22.4) needs jspecify 1.0.1

Resolved with the pin the enforcer itself suggests: jspecify 1.0.1 in
dependencyManagement, moving the artifact up to the version the higher
consumer already requires; no code touched

mvn --errors --batch-mode clean install -Pqulice fails on master at the
enforcer and ends with BUILD SUCCESS here: 231 tests, 0 failures,
qulice clean

Signed-off-by: Inf1mum <vadimlazuk5@gmail.com>

This branch has not been deployed

No deployments
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.

1 participant