You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by gr...@apache.org on 2022/11/19 21:12:40 UTC

[tika] 03/04: Remove log4j 1.2.x from tika-parsers-nlp-module

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

grossws pushed a commit to branch remove-log4j
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 9eea5835dc66959d1336064a5ce5b67a1d71f0b2
Author: Konstantin Gribov <gr...@gmail.com>
AuthorDate: Sat Nov 19 23:50:54 2022 +0300

    Remove log4j 1.2.x from tika-parsers-nlp-module
---
 tika-parsers/tika-parsers-ml/tika-parser-nlp-module/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tika-parsers/tika-parsers-ml/tika-parser-nlp-module/pom.xml b/tika-parsers/tika-parsers-ml/tika-parser-nlp-module/pom.xml
index 9301a3e46..b7338c4a7 100644
--- a/tika-parsers/tika-parsers-ml/tika-parser-nlp-module/pom.xml
+++ b/tika-parsers/tika-parsers-ml/tika-parser-nlp-module/pom.xml
@@ -54,6 +54,10 @@
                     <groupId>org.springframework</groupId>
                     <artifactId>spring-core</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>log4j</groupId>
+                    <artifactId>log4j</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
         <dependency>
@@ -133,6 +137,13 @@
                 </exclusion>
             </exclusions>
         </dependency>
+
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>log4j-over-slf4j</artifactId>
+            <version>${slf4j.version}</version>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <profiles>