jackson-dataformats-binary icon indicating copy to clipboard operation
jackson-dataformats-binary copied to clipboard

jackson-dataformat-avro uses an apache avro version that depends on jackson 1.9.13

Open steinarb opened this issue 4 years ago • 2 comments

The jackson-format-avro pom references avro 1.8.2 which has jackson 1.9.13 as a transitive dependency.

Avro moved to using jackson 2.x on version 1.9.0 and is using jackson 2.9.9 from avro 1.10.

The jackson-dataformat-avro code is paradoxically using classes from the org.codehaus.jackson.* packages, which also should be updated.

steinarb avatar Sep 08 '19 20:09 steinarb

I discovered this issue while working on https://github.com/FasterXML/jackson-databind/issues/2434

steinarb avatar Sep 08 '19 20:09 steinarb

This is a known problem, and has been considered sub-optimal but harmless. There is an issue for Avro module (where this issue would belong) about possibility of upgrading Apache Avro lib dependency:

https://github.com/FasterXML/jackson-dataformats-binary/issues/167

so I think this issue might be a dup.

Avro module itself unfortunately has to depend on Jackson 1.x for the sole reason that not only do earlier AA versions use it, they (worse) expose types via API -- and so there is no good way around dependency when dealing with default values.

Dependency could be fixed if only we could upgrade to 1.9.x. But as discussed in lineked-to issue, there are.... what seem like severe incompatibilities between 1.8.x and 1.9.x. So for the time being we are in bit of a limbo unfortunately.

cowtowncoder avatar Sep 08 '19 21:09 cowtowncoder