From df572ba7fee3954183292b36d12e3a5afb6cc401 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Mon, 9 Sep 2024 12:34:09 +0300 Subject: [PATCH 1/2] Revert "Satisfy GraalVM's classpath needs" This reverts commit c192df8915e81530befa310492743e2ab528d1fe. --- bom/application/pom.xml | 2 +- extensions/jdbc/jdbc-h2/runtime/pom.xml | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 0eff7b8de1c97..3e181b30e7fd6 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -121,7 +121,7 @@ 9.2.1 2.3.2 2.3.232 + and the dependency jts-core needs to be updated in extensions/jdbc/jdbc-h2/runtime/pom.xml --> 42.7.4 3.4.1 8.3.0 diff --git a/extensions/jdbc/jdbc-h2/runtime/pom.xml b/extensions/jdbc/jdbc-h2/runtime/pom.xml index fc251ad7afd60..ceb9082bd38f1 100644 --- a/extensions/jdbc/jdbc-h2/runtime/pom.xml +++ b/extensions/jdbc/jdbc-h2/runtime/pom.xml @@ -21,15 +21,6 @@ com.h2database h2 - - - org.apache.lucene - lucene-core - 9.7.0 - org.locationtech.jts jts-core From d7b0fdde82a934840bcfa846d4ba36c3626e8e65 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Mon, 9 Sep 2024 12:38:31 +0300 Subject: [PATCH 2/2] Augment `quarkus.native.report-errors-at-runtime` documentation --- .../main/java/io/quarkus/deployment/pkg/NativeConfig.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/pkg/NativeConfig.java b/core/deployment/src/main/java/io/quarkus/deployment/pkg/NativeConfig.java index 41120735be5c1..f4ddf4e5bbfaf 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/pkg/NativeConfig.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/pkg/NativeConfig.java @@ -340,6 +340,11 @@ default String getEffectiveImage() { * If errors should be reported at runtime. This is a more relaxed setting, however it is not recommended as it * means * your application may fail at runtime if an unsupported feature is used by accident. + * + * Note that the use of this flag may result in build time failures due to {@code ClassNotFoundException}s. + * Reason most likely being that the Quarkus extension already optimized it away or do not actually need it. + * In such cases you should explicitly add the corresponding dependency providing the missing classes as a + * dependency to your project. */ @WithDefault("false") boolean reportErrorsAtRuntime();