You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ti...@apache.org on 2022/12/06 09:42:55 UTC
[tika] branch main updated: TIKA-3917: update commons-net because of vulnerability
This is an automated email from the ASF dual-hosted git repository.
tilman 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 580cc139d TIKA-3917: update commons-net because of vulnerability
580cc139d is described below
commit 580cc139d43bbadc1703ac8ec61bc031984a5816
Author: Tilman Hausherr <ti...@apache.org>
AuthorDate: Tue Dec 6 10:42:02 2022 +0100
TIKA-3917: update commons-net because of vulnerability
---
tika-parent/pom.xml | 1 +
tika-parsers/tika-parsers-ml/tika-age-recogniser/pom.xml | 2 +-
tika-parsers/tika-parsers-ml/tika-dl/pom.xml | 12 ++++++++++++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index 980471c77..7abcc9f37 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -323,6 +323,7 @@
<commons.lang3.version>3.12.0</commons.lang3.version>
<commons.logging.version>1.2</commons.logging.version>
<commons.math3.version>3.6.1</commons.math3.version>
+ <commons.net.version>3.9.0</commons.net.version>
<ctakes.version>4.0.0.1</ctakes.version>
<cxf.version>3.5.4</cxf.version>
<ddplist.version>1.26</ddplist.version>
diff --git a/tika-parsers/tika-parsers-ml/tika-age-recogniser/pom.xml b/tika-parsers/tika-parsers-ml/tika-age-recogniser/pom.xml
index c88eb5373..ff465181b 100644
--- a/tika-parsers/tika-parsers-ml/tika-age-recogniser/pom.xml
+++ b/tika-parsers/tika-parsers-ml/tika-age-recogniser/pom.xml
@@ -60,7 +60,7 @@
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
- <version>3.9.0</version>
+ <version>${commons.net.version}</version>
</dependency>
<dependency>
<groupId>com.thoughtworks.paranamer</groupId>
diff --git a/tika-parsers/tika-parsers-ml/tika-dl/pom.xml b/tika-parsers/tika-parsers-ml/tika-dl/pom.xml
index d12002ec8..ca23ec9e0 100644
--- a/tika-parsers/tika-parsers-ml/tika-dl/pom.xml
+++ b/tika-parsers/tika-parsers-ml/tika-dl/pom.xml
@@ -67,6 +67,12 @@
<artifactId>nd4j-api</artifactId>
<version>${dl4j.version}</version>
<scope>provided</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-net</groupId>
+ <artifactId>commons-net</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
@@ -79,6 +85,12 @@
<artifactId>log4j-slf4j2-impl</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>commons-net</groupId>
+ <artifactId>commons-net</artifactId>
+ <version>${commons.net.version}</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>