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 2022/05/26 14:13:13 UTC

[tika] branch TIKA-3751-ossindex updated: TIKA-3751 -- fix icu4j

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

tallison pushed a commit to branch TIKA-3751-ossindex
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/TIKA-3751-ossindex by this push:
     new f238c892d TIKA-3751 -- fix icu4j
f238c892d is described below

commit f238c892d1d6baa734437b42af0b181d70434692
Author: tallison <ta...@apache.org>
AuthorDate: Thu May 26 10:13:00 2022 -0400

    TIKA-3751 -- fix icu4j
---
 tika-example/pom.xml |  9 +++++++--
 tika-parent/pom.xml  | 10 +++++++++-
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/tika-example/pom.xml b/tika-example/pom.xml
index 37d52316c..22421a16a 100644
--- a/tika-example/pom.xml
+++ b/tika-example/pom.xml
@@ -164,12 +164,17 @@
           <exclude>
             <groupId>com.google.guava</groupId>
             <artifactId>guava</artifactId>
-            <version>31.1-jre</version>
+            <version>${guava.version}</version>
+          </exclude>
+          <exclude>
+            <groupId>com.ibm.icu</groupId>
+            <artifactId>icu4j</artifactId>
+            <version>${icu4j.version}</version>
           </exclude>
           <exclude>
             <groupId>xerces</groupId>
             <artifactId>xercesImpl</artifactId>
-            <version>2.12.2</version>
+            <version>${xerces.version}</version>
           </exclude>
           <exclude>
             <groupId>commons-dbcp</groupId>
diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index 794f2c7f6..0d9583c00 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -316,6 +316,8 @@
     <h2.version>2.1.212</h2.version>
     <httpcomponents.version>4.5.13</httpcomponents.version>
     <httpcore.version>4.4.15</httpcore.version>
+    <!-- versions greater than 62.2 are not compatible with icu4j handler in lucene 8.11.1 -->
+    <icu4j.version>62.2</icu4j.version>
     <imageio.version>1.4.0</imageio.version>
     <jackcess.version>4.0.1</jackcess.version>
     <jackcess.encrypt.version>4.0.1</jackcess.encrypt.version>
@@ -464,7 +466,7 @@
       <dependency>
         <groupId>com.ibm.icu</groupId>
         <artifactId>icu4j</artifactId>
-        <version>71.1</version>
+        <version>${icu4j.version}</version>
       </dependency>
       <dependency>
         <groupId>commons-cli</groupId>
@@ -763,6 +765,12 @@
               <artifactId>h2</artifactId>
               <version>2.1.212</version>
             </exclude>
+            <exclude>
+              <!-- the cve seems to be about the c++ library, not the java library -->
+              <groupId>com.ibm.icu</groupId>
+              <artifactId>icu4j</artifactId>
+              <version>${icu4j.version}</version>
+            </exclude>
             <exclude>
               <groupId>io.netty</groupId>
               <artifactId>netty-handler</artifactId>