Commit af241f0
committed
CAMEL-22857: fix Jackson 2 dependency management for Jackson 3 migration
Replace the explicit jackson-annotations managed dependency with a
Jackson 2 BOM import. This ensures all Jackson 2 artifacts (annotations,
core, databind) stay coherent at the same version.
Previously, only jackson-annotations was managed at 2.20 while
jackson-databind was unmanaged, causing langchain4j (which transitively
brings jackson-databind 2.21.1) to fail with NoClassDefFoundError for
JsonSerializeAs (introduced in annotations 2.21).
Also bumps jackson2-version from 2.20.2 to 2.21.1 to match the version
used by transitive dependencies like langchain4j.1 parent 846d00a commit af241f0
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
276 | | - | |
| 275 | + | |
277 | 276 | | |
278 | 277 | | |
279 | 278 | | |
| |||
3287 | 3286 | | |
3288 | 3287 | | |
3289 | 3288 | | |
3290 | | - | |
3291 | | - | |
3292 | | - | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
| 3292 | + | |
| 3293 | + | |
3293 | 3294 | | |
3294 | 3295 | | |
3295 | 3296 | | |
| |||
0 commit comments