From 3613236cbffcd7021a8a87ecef61a79cb6046052 Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Mon, 18 Oct 2021 14:45:46 +0100 Subject: [PATCH] Enable all charsets in native image for quarkus-tika --- .../main/java/io/quarkus/tika/deployment/TikaProcessor.java | 6 ++++++ integration-tests/tika/pom.xml | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) 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 182abf341a5cc..d4ff2af0c0607 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 @@ -26,6 +26,7 @@ import io.quarkus.deployment.annotations.ExecutionTime; import io.quarkus.deployment.annotations.Record; import io.quarkus.deployment.builditem.FeatureBuildItem; +import io.quarkus.deployment.builditem.NativeImageEnableAllCharsetsBuildItem; import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem; import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceDirectoryBuildItem; import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem; @@ -87,6 +88,11 @@ public void registerPdfBoxResources(BuildProducernative - - - true -