Hi,
from version 1.25 to 1.26, tika-parsers' dependency
org.glassfish.jaxb:jaxb-runtime:jar was updated from 2.3.3 to 3.0.0.
The new version is part of Jakarta EE 9 and uses the Java package
org.glassfish.jaxb, while version 2.3.3 (Jakarta EE 8) used package
com.sun.xml.bind.
Its transitive dependency jakarta.xml.bind:jakarta.xml.bind-api was also
updated from 2.3.3 to 3.0.0, which changed the package from
javax.xml.bind to jakarta.xml.bin.
(And it also pulls in jakarta.activation from Jakarta EE 9 now)
This now causes some problems in a project that already uses Jakarta EE
8 bind-api, version 2.3.3.
I found some background info on these versions here:
https://www.eclipse.org/community/eclipse_newsletter/2020/november/1.php
> mixing Jakarta EE 8 and Jakarta EE 9 APIs will cause issues with
Maven because they both use the same Maven coordinates.
For such a case, they propose to use the old Java EE 8 artifacts with
different Maven coordinates instead of Jakarta EE 8 artifacts. Maybe I
could do that, but it can get very complicated in our project, because
these artifacts are again transitive dependencies of other libraries.
This lead me to the questions:
1) Was this change intended, or did you just increase the version as
part of general updates?
2) Which parsers need this dependency? We've excluded some parsers, and
might be able to simply exclude the dependency as well. I haven't found
any direct usage of this dependency in Tika. Maybe it was just added for
version management, and is used transitively by some parser?
Thanks and regards,
Andreas