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