From 2d7d2fa9a70aa9a920f94bc40936ea347aab4cf8 Mon Sep 17 00:00:00 2001 From: Roberto Cortez Date: Tue, 20 Sep 2022 10:13:05 +0100 Subject: [PATCH] Update SmallRye Config to 2.12.1 --- bom/application/pom.xml | 2 +- .../java/io/quarkus/runtime/configuration/ConfigUtils.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index bf5e56a92afb9..95232b542124d 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -40,7 +40,7 @@ 1.2 1.0 1.13.1 - 2.12.0 + 2.12.1 3.3.0 3.0.5 2.3.0 diff --git a/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigUtils.java b/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigUtils.java index a0e3d24df1d41..210d5f34d1c6a 100644 --- a/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigUtils.java +++ b/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigUtils.java @@ -181,6 +181,9 @@ public OptionalInt getPriority() { } }); + // Ignore unmapped quarkus properties, because properties in the same root may be split between build / runtime + builder.withMappingIgnore("quarkus.**"); + builder.addDefaultInterceptors(); builder.addDiscoveredInterceptors(); builder.addDiscoveredConverters();