ANY23-401 update to Tika 1.19.1
authorHans <firedrake93@gmail.com>
Sat, 27 Oct 2018 01:32:45 +0000 (20:32 -0500)
committerHans <firedrake93@gmail.com>
Sat, 27 Oct 2018 01:32:45 +0000 (20:32 -0500)
cli/pom.xml
core/pom.xml
encoding/pom.xml
mime/pom.xml
plugins/office-scraper/src/main/java/org/apache/any23/plugin/officescraper/ExcelExtractor.java
pom.xml

index fdd7dea..2a0cb92 100644 (file)
     <dependency>
       <groupId>org.apache.tika</groupId>
       <artifactId>tika-parsers</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging-api</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
index 5746478..9b66c90 100644 (file)
     <dependency>
       <groupId>org.apache.tika</groupId>
       <artifactId>tika-parsers</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging-api</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
     <dependency> <!-- used by Tika -->
         <groupId>org.apache.commons</groupId>
       <groupId>org.yaml</groupId>
       <artifactId>snakeyaml</artifactId>
     </dependency>
-
-    <dependency>
-      <groupId>javax.xml.bind</groupId>
-      <artifactId>jaxb-api</artifactId>
-    </dependency>
     <!-- END: Misc -->
 
     <!-- BEGIN: slf4j -->
index 7916ebc..8740ded 100644 (file)
     <dependency>
       <groupId>org.apache.tika</groupId>
       <artifactId>tika-parsers</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging-api</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
     <!-- ensure dependencies of tika-parsers match versions
       specified in dependencyManagement section of parent pom -->
index c833def..812c43f 100644 (file)
     <dependency>
       <groupId>org.apache.tika</groupId>
       <artifactId>tika-parsers</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging-api</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
     <!-- ensure dependencies of tika-parsers match versions
       specified in dependencyManagement section of parent pom -->
index d4e7918..b879641 100644 (file)
@@ -133,7 +133,7 @@ public class ExcelExtractor implements Extractor.ContentExtractor {
     }
 
     private void writeCell(IRI rowIRI, Cell cell, ExtractionResult er) {
-        final IRI cellType = cellTypeToType(cell.getCellTypeEnum());
+        final IRI cellType = cellTypeToType(cell.getCellType());
         if (cellType == null)
             return; // Skip unsupported cells.
         final IRI cellIRI = getCellIRI(rowIRI, cell);
diff --git a/pom.xml b/pom.xml
index b5470ac..3d4766d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <httpclient.version>4.5.6</httpclient.version>
     <httpcore.version>4.4.10</httpcore.version>
     <owlapi.version>5.1.6</owlapi.version>
-    <poi.version>3.17</poi.version>
+    <poi.version>4.0.0</poi.version>
     <rdf4j.version>2.4.0</rdf4j.version>
     <semargl.version>0.7</semargl.version>
     <slf4j.logger.version>1.7.25</slf4j.logger.version>
-    <tika.version>1.18</tika.version>
+    <tika.version>1.19.1</tika.version>
     <openie_2.11.version>4.2.6</openie_2.11.version>
     <openregex.version>1.1.1</openregex.version>
     <jackson.version>2.9.6</jackson.version>
       <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-compress</artifactId>
-        <version>1.17</version>
+        <version>1.18</version>
       </dependency>
       <dependency>
         <groupId>xerces</groupId>
         <version>1.11.3</version>
       </dependency>
       <dependency>
-        <groupId>javax.xml.bind</groupId>
-        <artifactId>jaxb-api</artifactId>
-        <version>2.4.0-b180725.0427</version>
-      </dependency>
-      <dependency>
         <groupId>net.sf.biweekly</groupId>
         <artifactId>biweekly</artifactId>
         <version>0.6.2</version>