Repository navigation
build: Downport Jackson 2.21.7 update (5.x.x) - #1423
Conversation
Bumps [com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson-databind) from 2.19.0 to 2.21.7. - [Commits](FasterXML/jackson-databind@jackson-databind-2.19.0...jackson-databind-2.21.7) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-version: 2.21.7 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> (cherry picked from commit 812180a)
Since Jackson 2.20, jackson-annotations no longer carries a patch
version (only 2.20, 2.21, ...), so pinning it to ${jackson.version}
(2.21.7) fails dependency resolution. Importing jackson-bom resolves
the matching annotations version and also aligns modules such as
jackson-datatype-jdk8, which were previously managed by the older
Spring Boot BOM.
(cherry picked from commit 3dab3e0)
|
We build with the default profile, which is JDK 8, so the dependency of the artifact uploaded to Maven Central will always be wire 4.9; any other version will only ever be used in CI. We should probably keep the versions aligned. |
Good point, thanks. Since the published 5.x.x artifacts are built with the default Java 8 profile, bumping Wire only in the JDK 17/21 profiles just widens the gap between what CI tests and what ships. I reverted the Wire bump in 90cbe2d, so this PR now only downports the Jackson update. |
1fe1228 to
a84b011
Compare
|
I moved the Wire change to its own PR, #1424, and removed it from this branch. This PR now only covers the Jackson downport. |
Downports the latest Jackson Dependabot update from
mainto5.x.x.Changes
jackson-bom. The BOM is imported beforespring-boot-dependencies, so its versions take precedence. Applied cleanly.The Wire update moved to its own PR, #1424.