From d1fc1a6a968763f150a9ebb33c064352391c815e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Apr 2021 21:03:46 +0000 Subject: [PATCH] Bump tika-parsers from 1.24.1 to 1.26 Bumps [tika-parsers](https://github.com/apache/tika) from 1.24.1 to 1.26. - [Release notes](https://github.com/apache/tika/releases) - [Changelog](https://github.com/apache/tika/blob/main/CHANGES.txt) - [Commits](https://github.com/apache/tika/compare/1.24.1...1.26) Signed-off-by: dependabot[bot] --- bom/application/pom.xml | 16 ++++++++++++++-- .../quarkus/tika/deployment/TikaProcessor.java | 1 + .../tika/deployment/TikaProcessorTest.java | 4 ++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index db5462445db48..88706df0568ea 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -145,7 +145,7 @@ 3.5.7 2.12.13 - 1.24.1 + 1.26 1.4 1.2.1 3.8.0 @@ -2954,6 +2954,7 @@ org.apache.tika tika-parsers + ${tika.version} org.apache.cxf @@ -2963,8 +2964,19 @@ commons-logging commons-logging + + javax.activation + activation + + + javax.activation + activation-api + + + javax.xml.bind + jaxb-api + - ${tika.version} org.apache.poi diff --git a/extensions/tika/deployment/src/main/java/io/quarkus/tika/deployment/TikaProcessor.java b/extensions/tika/deployment/src/main/java/io/quarkus/tika/deployment/TikaProcessor.java index 7ddfd2af4cbd9..3c9e19e25e4b1 100644 --- a/extensions/tika/deployment/src/main/java/io/quarkus/tika/deployment/TikaProcessor.java +++ b/extensions/tika/deployment/src/main/java/io/quarkus/tika/deployment/TikaProcessor.java @@ -87,6 +87,7 @@ public void registerTikaParsersResources(BuildProducer resource) { + resource.produce(new NativeImageResourceDirectoryBuildItem("org/apache/pdfbox/resources/afm")); resource.produce(new NativeImageResourceDirectoryBuildItem("org/apache/pdfbox/resources/glyphlist")); resource.produce(new NativeImageResourceDirectoryBuildItem("org/apache/fontbox/cmap")); resource.produce(new NativeImageResourceDirectoryBuildItem("org/apache/fontbox/unicode")); diff --git a/extensions/tika/deployment/src/test/java/io/quarkus/tika/deployment/TikaProcessorTest.java b/extensions/tika/deployment/src/test/java/io/quarkus/tika/deployment/TikaProcessorTest.java index 7be30fd56126c..46336f91a5c21 100644 --- a/extensions/tika/deployment/src/test/java/io/quarkus/tika/deployment/TikaProcessorTest.java +++ b/extensions/tika/deployment/src/test/java/io/quarkus/tika/deployment/TikaProcessorTest.java @@ -78,13 +78,13 @@ public void testUnresolvableCustomAbbreviation() throws Exception { @Test public void testAllSupportedParserNames() throws Exception { - assertEquals(72, getParserNames(null, null).size()); + assertEquals(77, getParserNames(null, null).size()); } @Test public void testSupportedParserNamesWithTikaConfigPath() throws Exception { Set names = getParserNames("tika-config.xml", "pdf"); - assertEquals(72, names.size()); + assertEquals(77, names.size()); } @Test