2
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
3
xmlns="http://maven.apache.org/POM/4.0.0"
4
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5
<modelVersion>4.0.0</modelVersion>
8
<artifactId>keycloak-parent</artifactId>
9
<groupId>org.keycloak</groupId>
10
<version>999.0.0-SNAPSHOT</version>
11
<relativePath>../pom.xml</relativePath>
14
<name>Keycloak Operator</name>
15
<artifactId>keycloak-operator</artifactId>
18
<compiler-plugin.version>3.8.1</compiler-plugin.version>
19
<maven.compiler.parameters>true</maven.compiler.parameters>
20
<maven.compiler.release>11</maven.compiler.release>
21
<maven.compiler.source>11</maven.compiler.source>
22
<maven.compiler.target>11</maven.compiler.target>
23
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
25
<quarkus.container-image.group>keycloak</quarkus.container-image.group>
28
<dependencyManagement>
31
<groupId>io.quarkus.platform</groupId>
32
<artifactId>quarkus-operator-sdk-bom</artifactId>
33
<version>${quarkus.version}</version>
38
</dependencyManagement>
44
<groupId>io.fabric8</groupId>
45
<artifactId>crd-generator-apt</artifactId>
46
<scope>provided</scope>
49
<groupId>io.fabric8</groupId>
50
<artifactId>kubernetes-junit-jupiter</artifactId>
56
<groupId>io.quarkiverse.operatorsdk</groupId>
57
<artifactId>quarkus-operator-sdk</artifactId>
60
<groupId>io.vertx</groupId>
61
<artifactId>vertx-uri-template</artifactId>
66
<groupId>io.quarkiverse.operatorsdk</groupId>
67
<artifactId>quarkus-operator-sdk-bundle-generator</artifactId>
68
<optional>true</optional>
71
<groupId>io.quarkus</groupId>
72
<artifactId>quarkus-kubernetes-client</artifactId>
75
<groupId>io.vertx</groupId>
76
<artifactId>vertx-uri-template</artifactId>
79
<groupId>com.aayushatharva.brotli4j</groupId>
80
<artifactId>*</artifactId>
83
<groupId>org.apache.commons</groupId>
84
<artifactId>commons-compress</artifactId>
89
<groupId>io.quarkus</groupId>
90
<artifactId>quarkus-container-image-docker</artifactId>
91
<optional>true</optional>
96
<groupId>org.keycloak</groupId>
97
<artifactId>keycloak-core</artifactId>
102
<groupId>org.bouncycastle</groupId>
103
<artifactId>bcprov-jdk18on</artifactId>
106
<groupId>org.bouncycastle</groupId>
107
<artifactId>bcpkix-jdk18on</artifactId>
112
<groupId>io.quarkus</groupId>
113
<artifactId>quarkus-test-common</artifactId>
117
<groupId>io.quarkus</groupId>
118
<artifactId>quarkus-junit5</artifactId>
122
<groupId>io.quarkus</groupId>
123
<artifactId>quarkus-junit5-mockito</artifactId>
127
<groupId>org.assertj</groupId>
128
<artifactId>assertj-core</artifactId>
129
<version>${assertj-core.version}</version>
133
<groupId>org.awaitility</groupId>
134
<artifactId>awaitility</artifactId>
138
<groupId>io.rest-assured</groupId>
139
<artifactId>rest-assured</artifactId>
143
<groupId>org.mockito</groupId>
144
<artifactId>mockito-core</artifactId>
153
<groupId>io.quarkus</groupId>
154
<artifactId>quarkus-maven-plugin</artifactId>
155
<version>${quarkus.build.version}</version>
158
<artifactId>maven-compiler-plugin</artifactId>
159
<version>${compiler-plugin.version}</version>
165
<groupId>io.quarkus</groupId>
166
<artifactId>quarkus-maven-plugin</artifactId>
167
<version>${quarkus.build.version}</version>
175
<quarkus.package.filter-optional-dependencies>true</quarkus.package.filter-optional-dependencies>
182
<artifactId>maven-resources-plugin</artifactId>
185
<id>copy-resources</id>
186
<phase>validate</phase>
188
<goal>copy-resources</goal>
191
<outputDirectory>${basedir}/target</outputDirectory>
194
<directory>src/main/kubernetes</directory>
195
<filtering>true</filtering>
201
<id>copy-ubi-null</id>
202
<phase>validate</phase>
204
<goal>copy-resources</goal>
207
<outputDirectory>${project.build.directory}</outputDirectory>
210
<directory>${basedir}/../quarkus/container/</directory>
212
<include>**/ubi-null.sh</include>
222
<groupId>org.codehaus.mojo</groupId>
223
<artifactId>build-helper-maven-plugin</artifactId>
226
<phase>generate-sources</phase>
228
<goal>add-source</goal>
232
<source>${basedir}/target/generated-sources/java</source>
240
<artifactId>maven-surefire-plugin</artifactId>
247
<id>default-test</id>
248
<phase>verify</phase>
255
<systemPropertyVariables>
257
<OPERATOR_TEST_LABEL_EXPRESSION>my-value</OPERATOR_TEST_LABEL_EXPRESSION>
258
</systemPropertyVariables>
263
<groupId>org.apache.maven.plugins</groupId>
264
<artifactId>maven-assembly-plugin</artifactId>
267
<id>assemble-quarkus</id>
268
<phase>package</phase>
274
<descriptor>assembly.xml</descriptor>
276
<appendAssemblyId>false</appendAssemblyId>
277
<workDirectory>${project.build.directory}/assembly/work</workDirectory>
281
<id>assemble-bundle</id>
282
<phase>package</phase>
288
<descriptor>olm-assembly.xml</descriptor>
290
<appendAssemblyId>true</appendAssemblyId>
291
<workDirectory>${project.build.directory}/bundle-assembly/work</workDirectory>
302
<id>operator-prod</id>
304
<quarkus.profile>rhbk</quarkus.profile>