Thorsten Heit created TIKA-4849:
-----------------------------------
Summary: Unnecessary dependencies to jaxb-runtime
Key: TIKA-4849
URL: https://issues.apache.org/jira/browse/TIKA-4849
Project: Tika
Issue Type: Improvement
Components: dependency, parser
Affects Versions: 4.0.0
Reporter: Thorsten Heit
The parser modules "tika-parser-miscoffice-module" and "tika-parser-pdf-module"
both contain a dependency to org.glassfish.jaxb:jaxb-runtime. This should be
removed because it's not needed (anymore?) and used in the code.
The pdf module contains the following comment snippet in its {{pom.xml}}:
{noformat}
<!-- for java 10
See TIKA-2778 for why we need to do this now.
May the gods of API design fix this in the future.
only required for jackcess-encrypt
-->
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
</dependency>
{noformat}
Obviously there was a a reason for adding the depenency, but according to {{mvn
dependency:tree}} the mentioned "jackcess-encrypt" isn't contained in the
(transitive) list of dependencies, for both of the above mentioned modules.
"mvn clean verify" with the dependency removed on the modules works btw.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)