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/02/11 11:28:55 UTC
[tika] 01/02: TIKA-3676 -- change tika-dl's dependencies to provided
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
commit cfbcaba59cc5d6edd4322459c8a6effc8c9544f2
Author: tallison <ta...@apache.org>
AuthorDate: Fri Feb 11 06:27:48 2022 -0500
TIKA-3676 -- change tika-dl's dependencies to provided
---
CHANGES.txt | 8 +++++++-
tika-parsers/tika-parsers-ml/tika-dl/pom.xml | 7 +++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index 381b3ef..4f02b63 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,6 +1,12 @@
Release 2.3.1 - ???
- * Upgrade deeplearning4j to 1.0.0-M1.1 (TIKA-3458)
+ * NOTE: To save on resources, we no longer include the
+ deeplearning4j dependencies in the tika-dl jar. The dependencies for the
+ tika-dl package must be provided by users. See:
+ https://github.com/apache/tika/blob/main/tika-parsers/tika-parsers-ml/tika-dl/pom.xml
+ for the dependencies that must be provided at run-time (TIKA-3676).
+
+ * Upgrade deeplearning4j to 1.0.0-M1.1 (TIKA-3458).
Release 2.3.0 - 02/02/2022
diff --git a/tika-parsers/tika-parsers-ml/tika-dl/pom.xml b/tika-parsers/tika-parsers-ml/tika-dl/pom.xml
index d881ad6..3967329 100644
--- a/tika-parsers/tika-parsers-ml/tika-dl/pom.xml
+++ b/tika-parsers/tika-parsers-ml/tika-dl/pom.xml
@@ -65,36 +65,43 @@
<groupId>${project.groupId}</groupId>
<artifactId>tika-parser-advancedmedia-module</artifactId>
<version>${project.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.datavec</groupId>
<artifactId>datavec-data-image</artifactId>
<version>${dl4j.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-zoo</artifactId>
<version>${dl4j.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-modelimport</artifactId>
<version>${dl4j.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-nn</artifactId>
<version>${dl4j.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-api</artifactId>
<version>${dl4j.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-native-platform</artifactId>
<version>${dl4j.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>