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

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b4f173682b Fixed: [SECURITY] Upgrade Tika to 2.5.0 (OFBIZ-12699)
b4f173682b is described below

commit b4f173682b9c4dd5a008382f11c7ed013ec9f956
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Thu Oct 6 12:55:51 2022 +0200

    Fixed: [SECURITY] Upgrade Tika to 2.5.0 (OFBIZ-12699)
    
    See https://lists.apache.org/thread/7wwqjyonq8nmsldfb6gdbksl0wxlh380
    
    Also moves commons-csv to its alphabetical right place
---
 build.gradle | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/build.gradle b/build.gradle
index f5a07d0828..677150c13f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -219,6 +219,7 @@ dependencies {
     implementation 'net.lingala.zip4j:zip4j:2.11.1'
     implementation 'org.apache.ant:ant-junit:1.10.12'
     implementation 'org.apache.commons:commons-collections4:4.4'
+    implementation 'org.apache.commons:commons-csv:1.9.0'      
     implementation 'org.apache.commons:commons-dbcp2:2.9.0'
     implementation 'org.apache.commons:commons-imaging:1.0-alpha3' // Alpha 
but OK, "Imaging was working and was used by a number of projects in production 
even before reaching its initial release as an Apache Commons component."
     implementation 'org.apache.commons:commons-text:1.9'
@@ -232,12 +233,9 @@ dependencies {
     implementation 'org.apache.shiro:shiro-core:1.9.0'
     implementation 'org.apache.sshd:sshd-core:2.8.0'
     implementation 'org.apache.sshd:sshd-sftp:2.8.0'
-    // Note: The Apache Tika PMC has set September 30, 2022 as the End Of Life 
for the Tika 1.x branch.
-    //       The PMC will make security fixes for the 1.x branch until that 
date.
-    implementation 'org.apache.tika:tika-core:2.4.1'
-    implementation 'org.apache.tika:tika-parsers:2.4.1'
-    implementation 'org.apache.commons:commons-csv:1.9.0'
-    implementation 'org.apache.tika:tika-parser-pdf-module:2.4.1'
+    implementation 'org.apache.tika:tika-core:2.5.0'
+    implementation 'org.apache.tika:tika-parsers:2.5.0'
+    implementation 'org.apache.tika:tika-parser-pdf-module:2.5.0'
     implementation 'org.apache.cxf:cxf-rt-frontend-jaxrs:3.5.3'
     implementation 'org.apache.tomcat:tomcat-catalina-ha:9.0.65' // Remember 
to change the version number (9 now) in javadoc block if needed.
     implementation 'org.apache.tomcat:tomcat-jasper:9.0.65'

Reply via email to