Skip to content

Align Jackson modules via jackson-bom 2.22.0#40

Merged
undera merged 1 commit into
masterfrom
jackson-bom-2.22
Jun 30, 2026
Merged

Align Jackson modules via jackson-bom 2.22.0#40
undera merged 1 commit into
masterfrom
jackson-bom-2.22

Conversation

@undera

@undera undera commented Jun 30, 2026

Copy link
Copy Markdown
Owner

What

Upgrades Jackson to 2.22.0 by importing the jackson-bom, instead of pinning jackson-databind alone.

Why

The pom pinned only jackson-databind. Dependabot #39 bumped just that artifact to 2.22.0, but jackson-core and jackson-annotations stayed at the transitive 2.16.1 (from JMeter 5.6.3). Jackson requires all modules on the same release line — the skew makes ObjectMapper's static initializer throw, cascading into 226 NoClassDefFound test errors.

Importing the BOM keeps all three modules aligned and prevents future single-artifact bumps from re-breaking the build.

Changes

  • Add dependencyManagement importing com.fasterxml.jackson:jackson-bom:2.22.0
  • Drop the explicit <version> on jackson-databind (now BOM-managed)

Supersedes #39 — that PR can be closed once this is green.

🤖 Generated with Claude Code

Importing the Jackson BOM keeps jackson-core, jackson-annotations and
jackson-databind on a single version. Previously only jackson-databind
was pinned, so bumping it alone (e.g. Dependabot #39) left core and
annotations at the older transitive 2.16.1, making ObjectMapper fail
static initialization and breaking the whole test suite.

Supersedes #39.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@undera undera marked this pull request as ready for review June 30, 2026 08:47
@undera undera merged commit 7f79a94 into master Jun 30, 2026
1 check passed
@undera undera deleted the jackson-bom-2.22 branch June 30, 2026 08:47
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