Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<version.junit.jupiter>5.7.0</version.junit.jupiter>

<version.io.rest-assured>4.3.1</version.io.rest-assured>
<version.lombok>1.18.20</version.lombok>
<version.lombok>1.18.42</version.lombok>
<version.org.hamcrest>1.3</version.org.hamcrest>
<version.mockito.core>4.9.0</version.mockito.core>
<version.logback>1.2.13</version.logback>
Expand Down
84 changes: 82 additions & 2 deletions provisioners/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,93 @@
<artifactId>java-generator-maven-plugin</artifactId>
<executions>
<execution>
<id>default-crd-generation</id>
<id>default-crd-generation-broker_activemqartemis</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<target>target/generated-sources</target>
<source>src/main/resources/crds/default</source>
<source>src/main/resources/crds/default/broker_activemqartemis</source>
<!--
This is needed to force the Java generator from CRD to stick with the original names
for enums, and avoid to uppercase them, since this could generate duplicate names,
as in https://github.com/infinispan/infinispan-operator/blob/2.3.4.Final/config/crd/bases/infinispan.org_infinispans.yaml#L1473-L1477
-->
<enumUppercase>false</enumUppercase>
<!--
The following is required in order to generate Sundrio and Lombok annotations
-->
<extraAnnotations>true</extraAnnotations>
</configuration>
</execution>
<execution>
<id>default-crd-generation-infinispan</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<target>target/generated-sources</target>
<source>src/main/resources/crds/default/infinispan</source>
<!--
This is needed to force the Java generator from CRD to stick with the original names
for enums, and avoid to uppercase them, since this could generate duplicate names,
as in https://github.com/infinispan/infinispan-operator/blob/2.3.4.Final/config/crd/bases/infinispan.org_infinispans.yaml#L1473-L1477
-->
<enumUppercase>false</enumUppercase>
<!--
The following is required in order to generate Sundrio and Lombok annotations
-->
<extraAnnotations>true</extraAnnotations>
</configuration>
</execution>
<execution>
<id>default-crd-generation-keycloak</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<target>target/generated-sources</target>
<source>src/main/resources/crds/default/keycloak</source>
<!--
This is needed to force the Java generator from CRD to stick with the original names
for enums, and avoid to uppercase them, since this could generate duplicate names,
as in https://github.com/infinispan/infinispan-operator/blob/2.3.4.Final/config/crd/bases/infinispan.org_infinispans.yaml#L1473-L1477
-->
<enumUppercase>false</enumUppercase>
<!--
The following is required in order to generate Sundrio and Lombok annotations
-->
<extraAnnotations>true</extraAnnotations>
</configuration>
</execution>
<execution>
<id>default-crd-generation-opendatahub</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<target>target/generated-sources</target>
<source>src/main/resources/crds/default/opendatahub</source>
<!--
This is needed to force the Java generator from CRD to stick with the original names
for enums, and avoid to uppercase them, since this could generate duplicate names,
as in https://github.com/infinispan/infinispan-operator/blob/2.3.4.Final/config/crd/bases/infinispan.org_infinispans.yaml#L1473-L1477
-->
<enumUppercase>false</enumUppercase>
<!--
The following is required in order to generate Sundrio and Lombok annotations
-->
<extraAnnotations>true</extraAnnotations>
</configuration>
</execution>
<execution>
<id>default-crd-generation-wildfly</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<target>target/generated-sources</target>
<source>src/main/resources/crds/default/wildfly</source>
<!--
This is needed to force the Java generator from CRD to stick with the original names
for enums, and avoid to uppercase them, since this could generate duplicate names,
Expand Down