Skip to content

Commit cae9cc7

Browse files
Upgrade jackson to 2.21.2 for sonatype-2026-000642 (#157)
The previous bump to 2.18.6 was insufficient — the fix requires jackson-core >= 2.21.1. jackson-annotations uses a separate version (2.21) as the annotations artifact no longer publishes patch releases in the 2.20+ line.
1 parent 44dd2d0 commit cae9cc7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

build.sbt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ val slickVersion = "3.5.2"
22
// make sure this is the same as the playWS's dependency
33
val pekkoVersion = "1.0.3"
44
val playJsonVersion = "3.0.6"
5-
val jacksonVersion = "2.18.6"
5+
val jacksonVersion = "2.21.2"
6+
val jacksonAnnotationsVersion = "2.21"
67
val awsVersion = "2.42.+"
78
val stubbornVersion = "3.1.0"
89
val prometheusVersion = "0.16.0"
@@ -70,7 +71,7 @@ lazy val orchardCore = (project in file("orchard-core")).
7071
// Force Jackson version for consistency across all modules
7172
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion,
7273
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion,
73-
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion,
74+
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonAnnotationsVersion,
7475
"com.fasterxml.jackson.datatype" % "jackson-datatype-jdk8" % jacksonVersion,
7576
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % jacksonVersion
7677
)
@@ -119,7 +120,7 @@ lazy val orchardProviderAWS = (project in file("orchard-provider-aws")).
119120
// Force Jackson version to match security requirements
120121
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion,
121122
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion,
122-
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion,
123+
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonAnnotationsVersion,
123124
"com.fasterxml.jackson.datatype" % "jackson-datatype-jdk8" % jacksonVersion,
124125
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % jacksonVersion
125126
)

0 commit comments

Comments
 (0)