Skip to content

Commit

Permalink
add note for legacy configroot.
Browse files Browse the repository at this point in the history
  • Loading branch information
christofluethi committed Dec 6, 2024
1 parent c710f45 commit ee286ab
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion content/en/docs/10.0/101_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<parameters>true</parameters>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
```
{{% /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 %}}

Expand Down

0 comments on commit ee286ab

Please sign in to comment.