aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-11-23 06:31:43 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-11-23 06:36:04 +0100
commit1d92ac8fbb6c5c3a3be7bf477fef9251dcd3dfe2 (patch)
tree95739626bbdc8727618e751cadeb30d0a18b8ec4 /pom.xml
parentc7f1136da4b0acf11e784397e4c46278706dc84f (diff)
Add Apache Tika, remove iText7.
Change-Id: I9736779cf57050a1dfd43d18625eb464a7179a9f
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml38
1 files changed, 21 insertions, 17 deletions
diff --git a/pom.xml b/pom.xml
index e58f095..2bc4582 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,7 @@
<picocli.version>4.3.2</picocli.version>
<pdfocr.version>1.0.2</pdfocr.version>
<term4j.version>0.4.0</term4j.version>
+ <tika.version>1.24.1</tika.version>
</properties>
<dependencies>
@@ -67,28 +68,31 @@
<version>${picocli.version}</version>
</dependency>
- <!-- PDF manipulation -->
+ <!-- Document reading -->
<dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itext7-core</artifactId>
- <version>${itext7.version}</version>
- <type>pom</type>
+ <groupId>org.apache.tika</groupId>
+ <artifactId>tika-core</artifactId>
+ <version>${tika.version}</version>
</dependency>
<dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>pdfocr-root</artifactId>
- <version>${pdfocr.version}</version>
- <type>pom</type>
+ <groupId>org.apache.tika</groupId>
+ <artifactId>tika-bundle</artifactId>
+ <version>${tika.version}</version>
</dependency>
<dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>pdfocr-api</artifactId>
- <version>${pdfocr.version}</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>pdfocr-tesseract4</artifactId>
- <version>${pdfocr.version}</version>
+ <groupId>net.sourceforge.tess4j</groupId>
+ <artifactId>tess4j</artifactId>
+ <version>4.5.1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>log4j-over-slf4j</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<!-- Terminal output -->