Align Jackson modules via jackson-bom 2.22.0#40
Merged
Conversation
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>
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.
What
Upgrades Jackson to 2.22.0 by importing the
jackson-bom, instead of pinningjackson-databindalone.Why
The pom pinned only
jackson-databind. Dependabot #39 bumped just that artifact to 2.22.0, butjackson-coreandjackson-annotationsstayed at the transitive 2.16.1 (from JMeter 5.6.3). Jackson requires all modules on the same release line — the skew makesObjectMapper's static initializer throw, cascading into 226NoClassDefFoundtest errors.Importing the BOM keeps all three modules aligned and prevents future single-artifact bumps from re-breaking the build.
Changes
dependencyManagementimportingcom.fasterxml.jackson:jackson-bom:2.22.0<version>onjackson-databind(now BOM-managed)Supersedes #39 — that PR can be closed once this is green.
🤖 Generated with Claude Code