This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new e4ed706f9 TIKA-4392: core osgi requirements now list xerces as 
optional (#2338)
e4ed706f9 is described below

commit e4ed706f9de048fab96d260127d23517531658c1
Author: SheliakLyr <[email protected]>
AuthorDate: Wed Sep 24 20:35:57 2025 +0200

    TIKA-4392: core osgi requirements now list xerces as optional (#2338)
---
 tika-core/pom.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tika-core/pom.xml b/tika-core/pom.xml
index 3a4462de4..e28bcaf5b 100644
--- a/tika-core/pom.xml
+++ b/tika-core/pom.xml
@@ -142,7 +142,11 @@
               org.apache.tika.config.TikaActivator
             </Bundle-Activator>
             <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
-            
<Import-Package>org.apache.commons.io.*;version="[2,3)",*</Import-Package>
+            <Import-Package>
+              org.apache.xerces.util;resolution:=optional,
+              org.apache.commons.io.*;version="[2,3)",
+              *
+            </Import-Package>
             <Export-Package>
               org.apache.tika.*
             </Export-Package>

Reply via email to