From e7c462497a3bea2b5992e4a54361e37d49aedf50 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard <code@mail.matthias.benkard.de> Date: Mon, 26 Aug 2024 05:23:38 +0200 Subject: build: Pass -AlegacyConfigRoot to the compiler. This is required while we are still using @ConfigRoot, which is deprecated in favor of @ConfigMapping. Change-Id: I07a97661ff874466e65f3d7a4d029aca63beea5d --- deployment/pom.xml | 17 +++++++++++++++++ runtime/pom.xml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/deployment/pom.xml b/deployment/pom.xml index f1b2b6f..b120f29 100644 --- a/deployment/pom.xml +++ b/deployment/pom.xml @@ -65,6 +65,23 @@ SPDX-License-Identifier: LGPL-3.0-or-later </path> </annotationProcessorPaths> </configuration> + <executions> + <execution> + <id>default-compile</id> + <configuration> + <annotationProcessorPaths> + <path> + <groupId>io.quarkus</groupId> + <artifactId>quarkus-extension-processor</artifactId> + <version>${quarkus.version}</version> + </path> + </annotationProcessorPaths> + <compilerArgs> + <arg>-AlegacyConfigRoot=true</arg> + </compilerArgs> + </configuration> + </execution> + </executions> </plugin> </plugins> </build> diff --git a/runtime/pom.xml b/runtime/pom.xml index 89eb805..0f5befc 100644 --- a/runtime/pom.xml +++ b/runtime/pom.xml @@ -84,6 +84,23 @@ SPDX-License-Identifier: LGPL-3.0-or-later </path> </annotationProcessorPaths> </configuration> + <executions> + <execution> + <id>default-compile</id> + <configuration> + <annotationProcessorPaths> + <path> + <groupId>io.quarkus</groupId> + <artifactId>quarkus-extension-processor</artifactId> + <version>${quarkus.version}</version> + </path> + </annotationProcessorPaths> + <compilerArgs> + <arg>-AlegacyConfigRoot=true</arg> + </compilerArgs> + </configuration> + </execution> + </executions> </plugin> <plugin> -- cgit v1.2.3