Skip to content

Commit

Permalink
Update to Tika 1.24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed Oct 6, 2020
1 parent 5636f3b commit faa5650
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<zookeeper.version>3.5.7</zookeeper.version>
<!-- Scala is used by Kafka so we need to choose a compatible version -->
<scala.version>2.12.9</scala.version>
<tika.version>1.22</tika.version>
<tika.version>1.24.1</tika.version>
<ooxml-schemas.version>1.4</ooxml-schemas.version>
<aws-lambda-java.version>1.2.1</aws-lambda-java.version>
<aws-lambda-java-events.version>3.3.1</aws-lambda-java-events.version>
Expand Down Expand Up @@ -2476,6 +2476,10 @@
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
<version>${tika.version}</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ public void testUnresolvableCustomAbbreviation() throws Exception {

@Test
public void testAllSupportedParserNames() throws Exception {
assertEquals(69, getParserNames(null, null).size());
assertEquals(72, getParserNames(null, null).size());
}

@Test
public void testSupportedParserNamesWithTikaConfigPath() throws Exception {
Set<String> names = getParserNames("tika-config.xml", "pdf");
assertEquals(69, names.size());
assertEquals(72, names.size());
}

@Test
Expand Down
1 change: 1 addition & 0 deletions integration-tests/tika/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
<cleanupServer>true</cleanupServer>
<enableHttpUrlHandler>true</enableHttpUrlHandler>
<graalvmHome>${graalvmHome}</graalvmHome>
<additionalBuildArgs>--report-unsupported-elements-at-runtime</additionalBuildArgs>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit faa5650

Please sign in to comment.