[ 
https://issues.apache.org/jira/browse/TIKA-4392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18022556#comment-18022556
 ] 

Hudson commented on TIKA-4392:
------------------------------

SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk17 #909 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/909/])
TIKA-4392: core osgi requirements now list xerces as optional (#2338) (github: 
[https://github.com/apache/tika/commit/e4ed706f9de048fab96d260127d23517531658c1])
* (edit) tika-core/pom.xml


> Incorrect "org.apache.xerces.util"-entry in Manifest file
> ---------------------------------------------------------
>
>                 Key: TIKA-4392
>                 URL: https://issues.apache.org/jira/browse/TIKA-4392
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Steven Huypens
>            Priority: Major
>             Fix For: 4.0.0, 3.3.0
>
>
>  
> *Issue:* The {{tika-core}} Manifest file has an {{Import-Package}} entry for 
> {{{}org.apache.xerces.util{}}}, which necessitates provisioning a Xerces 
> library with our OSGi application (which I'd prefer to avoid).
> *Details:* Since TIKA-4135, Tika only uses the Xerces package 
> {{org.apache.xerces.util}} in one place. As this usage is via reflection and 
> the {{ClassNotFoundException}} is caught, the Xerces dependency is not 
> strictly necessary, so the {{Import-Package}} should not be generated.
> *Solution:* Add {{!org.apache.xerces.util}} to the {{Import-Packages}} entry 
> in the {{tika-core}} {{{}pom.xml{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to