You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2026/08/28 08:04:00 UTC

[jira] [Resolved] (TIKA-4849) Unnecessary dependencies to jaxb-runtime

     [ https://issues.apache.org/jira/browse/TIKA-4849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved TIKA-4849.
-----------------------------------
      Assignee: Tilman Hausherr
    Resolution: Fixed

Thanks!

> Unnecessary dependencies to jaxb-runtime
> ----------------------------------------
>
>                 Key: TIKA-4849
>                 URL: https://issues.apache.org/jira/browse/TIKA-4849
>             Project: Tika
>          Issue Type: Improvement
>          Components: build, dependency, parser
>    Affects Versions: 4.0.0
>            Reporter: Thorsten Heit
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 4.1.0
>
>
> 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)