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

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


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

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

    TIKA-4392: core osgi requirements now list xerces as optional (#2338)
    
    (cherry picked from commit e4ed706f9de048fab96d260127d23517531658c1)
---
 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 b600c24d0..6b7000b4b 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