From ee286ab18bbceb63e4a80b3b92b05b8f96d724a3 Mon Sep 17 00:00:00 2001 From: christofluethi Date: Fri, 6 Dec 2024 12:29:24 +0100 Subject: [PATCH] add note for legacy configroot. --- content/en/docs/10.0/101_create.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/content/en/docs/10.0/101_create.md b/content/en/docs/10.0/101_create.md index d992b67d..8e8f9a9f 100644 --- a/content/en/docs/10.0/101_create.md +++ b/content/en/docs/10.0/101_create.md @@ -25,7 +25,24 @@ mvn io.quarkus:quarkus-maven-plugin:{{% param "quarkusVersion" %}}:create-extens -DwithoutTests ``` -{{% alert color="warning" %}} +{{% alert color="warning" title="ConfigRoot" %}} +This extension lab uses a legacy annotation `@ConfigRoot` for the configuration class. Make sure your `maven-compiler-plugin` in your `techlab-extension-appinfo/pom.xml` looks like this: + +```xml + + maven-compiler-plugin + ${compiler-plugin.version} + + true + + -AlegacyConfigRoot=true + + + +``` +{{% /alert %}} + +{{% alert color="info" title="Naming" %}} We will use the prefix `techlab-` for our extension. Extensions starting with `quarkus-` are usually meant to be official extensions built and supported by the quarkus core team. Therefore, you should not prefix your own extensions with `quarkus-`. {{% /alert %}}