Skip to content

Bump jcabi parent to 1.44.0 and qulice-maven-plugin to 0.26.0#59

Merged
yegor256 merged 2 commits intojcabi:masterfrom
bibonix:upgrade-deps
Apr 24, 2026
Merged

Bump jcabi parent to 1.44.0 and qulice-maven-plugin to 0.26.0#59
yegor256 merged 2 commits intojcabi:masterfrom
bibonix:upgrade-deps

Conversation

@bibonix
Copy link
Copy Markdown

@bibonix bibonix commented Apr 23, 2026

@yegor256 this PR upgrades the two outdated versions reported by mvn versions:display-parent-updates / display-plugin-updates and repairs the qulice lint regressions that the new plugin release surfaces.

What changed

  • com.jcabi:jcabi parent: 1.40.1 → 1.44.0
  • com.qulice:qulice-maven-plugin: 0.25.1 → 0.26.0

Other direct dependencies (jcabi-aspects 0.26.0, lombok 1.18.46, commons-lang3 3.20.0) were already at their latest stable versions.

Lint fixes required by qulice 0.26.0

The new qulice release ships stricter Checkstyle rules. Twelve violations surfaced on first rebuild and were addressed:

  • ConstructorsCodeFreeCheck (new in 0.26.0) — fires on every method call inside a constructor body. For URN.java I added nearby @checkstyle suppressions over the two public constructors (rewriting them would break the public API and push validation logic into awkward factory wrappers). For URNMocker.java I moved the UUID.randomUUID().toString() call out of the constructor and into the field initializer, which is the idiomatic fix.
  • ConstructorsOrderCheck — with two non-delegating constructors in URN, the check flags the second as "primary must be last". Added a nearby suppression; the two ctors are both primary by design and cannot delegate without re-introducing method calls.
  • QualifyInnerClassCheck — appears to mis-fire on new URN(...) from inside URN's own static factory methods (the check adds the top-level class name to its nested set, so self-instantiation trips the rule). Suppressed the two occurrences in URN.create and URN.isValid.
  • RegexpMultilineCheck — removed the empty line before the final closing brace in URN.java, URNMocker.java, and URNTest.java.

Verification

  • mvn clean install -Pqulice passes locally on JDK 21.
  • All 14 CI checks green on this PR: mvn matrix (ubuntu-24.04 / macos-15 / windows-2022 × JDK 17 / 21), plus actionlint, markdown-lint, typos, pdd, copyrights, reuse, xcop, yamllint.
  • 28 tests run, 0 failures, 1 skipped (unchanged from master).

Ready for review / merge.

@yegor256 yegor256 merged commit 3e56764 into jcabi:master Apr 24, 2026
14 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