Skip to content

Commit

Permalink
Mark modules using legacy @configroot as such
Browse files Browse the repository at this point in the history
The new extension annotation processor coming with 3.14 requires that
you mark the modules using the legacy @configroot approach (i.e.
without @ConfigMapping) with a specific annotation processor parameter.

This is important for the generation of the config documentation (which
is enabled by default).

This can be merged pre-3.14 update but will result in a warning when
building. With the advantage of having the build with main passing.
  • Loading branch information
gsmet authored and jamesnetherton committed Aug 9, 2024
1 parent a11f1e7 commit 93e8ffb
Show file tree
Hide file tree
Showing 20 changed files with 60 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extensions-core/core/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions-jvm/cli-connector/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/cxf-soap/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/debug/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/fhir/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/file-cluster-service/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/graphql/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/grpc/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/jfr/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/joor/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/kafka/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/kamelet/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/kubernetes-cluster-service/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/micrometer/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/microprofile-health/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/openapi-java/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/opentelemetry/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/rest-openapi/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/servlet/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 3 additions & 0 deletions extensions/xslt/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 93e8ffb

Please sign in to comment.