summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2024-08-26 05:23:38 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2024-08-26 05:24:38 +0200
commite7c462497a3bea2b5992e4a54361e37d49aedf50 (patch)
tree66e594a740e38ba3a80c878fafa17119fe47ad08
parentfddb8d94cec757891f3d2da12300c8e2feb9ff46 (diff)
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
-rw-r--r--deployment/pom.xml17
-rw-r--r--runtime/pom.xml17
2 files changed, 34 insertions, 0 deletions
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>