You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2021/11/17 19:52:14 UTC

[tika] branch main updated: TIKA-3591 -- override commons-io bundle export versions

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 f750410  TIKA-3591 -- override commons-io bundle export versions
f750410 is described below

commit f750410ce5ec206acca156a71de6b32396a78416
Author: tallison <ta...@apache.org>
AuthorDate: Wed Nov 17 14:52:00 2021 -0500

    TIKA-3591 -- override commons-io bundle export versions
---
 tika-bundles/tika-bundle-standard/pom.xml | 2 +-
 tika-core/pom.xml                         | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tika-bundles/tika-bundle-standard/pom.xml b/tika-bundles/tika-bundle-standard/pom.xml
index ccb7250..5862bff 100644
--- a/tika-bundles/tika-bundle-standard/pom.xml
+++ b/tika-bundles/tika-bundle-standard/pom.xml
@@ -219,7 +219,7 @@
               org.apache.tika.detect,
               org.apache.tika.mime,
               org.apache.tika.fork,
-              org.apache.commons.io,
+              org.apache.commons.io.*;version="[2,3)",
               android.util;resolution:=optional,
               com.adobe.xmp;resolution:=optional,
               com.adobe.xmp.impl;resolution:=optional,
diff --git a/tika-core/pom.xml b/tika-core/pom.xml
index 6a0ff5e..f534ae3 100644
--- a/tika-core/pom.xml
+++ b/tika-core/pom.xml
@@ -150,7 +150,9 @@
               org.apache.tika.config.TikaActivator
             </Bundle-Activator>
             <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
-            <Import-Package>!sun.misc,org.apache.xerces.util;resolution:=optional,*</Import-Package>
+            <Import-Package>!sun.misc,org.apache.xerces.util;resolution:=optional,
+              org.apache.commons.io.*;version="[2,3)",
+              *</Import-Package>
             <Export-Package>
               org.apache.tika.*
             </Export-Package>