CHK-13321: Force jackson-core 3.1.1 across all Gradle configurations#348
Merged
CHK-13321: Force jackson-core 3.1.1 across all Gradle configurations#348
Conversation
The previous fix (ext['jackson-bom.version']) only covered example projects using the spring-dependency-management plugin. The spring-boot-starter-web and spring-boot-starter-webflux modules use compileOnly for Spring Boot starters with platform(BOM_COORDINATES), so jackson-core:3.1.0 remained on their compileClasspath. Since the dependency submission action includes compileClasspath, the Dependabot alert stayed open. This adds a resolutionStrategy in the root build.gradle that forces tools.jackson.core:jackson-core to 3.1.1 across ALL configurations in ALL subprojects. Closes CHK-13321 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Avoids pinning to 3.1.1 if a newer version is requested through other dependencies (e.g. future Spring Boot upgrade). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
huguenin
approved these changes
Apr 10, 2026
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.
Summary
resolutionStrategyto forcetools.jackson.core:jackson-coreto 3.1.1 across ALL configurations in ALL subprojectsext['jackson-bom.version']) only covered example projects using thespring-dependency-managementpluginspring-boot-starter-webandspring-boot-starter-webfluxmodules usecompileOnlywithplatform(SpringBootPlugin.BOM_COORDINATES), sojackson-core:3.1.0remained on theircompileClasspathcompileClasspath, the Dependabot alert stayed openVulnerability Details
>= 3.0.0, <= 3.1.03.1.1tools.jackson.core:jackson-coreChanges
configurations.configureEachwithresolutionStrategy.eachDependencyin rootbuild.gradlesubprojectsblockTesting
jackson-coreresolves to 3.1.1 oncompileClasspathfor bothspring-boot-starter-webandspring-boot-starter-webfluxReferences
🤖 Generated with Claude Code