2022-01-12 08:06:10 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<artifactId>keycloak-parent</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2022-02-11 20:28:06 +00:00
|
|
|
<version>18.0.0-SNAPSHOT</version>
|
2022-01-12 08:06:10 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<name>Keycloak Operator</name>
|
|
|
|
<artifactId>keycloak-operator</artifactId>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!--
|
|
|
|
Override versions based on Quarkus dependencies.
|
|
|
|
Make sure to update these dependencies when Quarkus version changes.
|
|
|
|
See https://github.com/quarkusio/quarkus/blob/<versionTag>/bom/application/pom.xml
|
|
|
|
for reference
|
|
|
|
-->
|
|
|
|
<resteasy.version>4.7.4.Final</resteasy.version>
|
|
|
|
<wildfly.common.version>1.5.4.Final-format-001</wildfly.common.version>
|
2022-01-27 09:56:46 +00:00
|
|
|
<jackson.version>2.13.1</jackson.version>
|
|
|
|
<kubernetes-client.version>5.12.0</kubernetes-client.version>
|
2022-01-12 08:06:10 +00:00
|
|
|
|
|
|
|
<compiler-plugin.version>3.8.1</compiler-plugin.version>
|
|
|
|
<maven.compiler.parameters>true</maven.compiler.parameters>
|
|
|
|
<maven.compiler.release>11</maven.compiler.release>
|
|
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2022-02-03 08:38:45 +00:00
|
|
|
<quarkus.operator.sdk.version>3.0.2</quarkus.operator.sdk.version>
|
2022-01-12 08:06:10 +00:00
|
|
|
<quarkus.version>2.6.1.Final</quarkus.version>
|
|
|
|
<quarkus.container-image.group>keycloak</quarkus.container-image.group>
|
|
|
|
<quarkus.jib.base-jvm-image>eclipse-temurin:11</quarkus.jib.base-jvm-image>
|
|
|
|
<quarkus.kubernetes.image-pull-policy>Never</quarkus.kubernetes.image-pull-policy>
|
2022-02-03 08:38:45 +00:00
|
|
|
<maven-failsafe-plugin.version>2.22.0</maven-failsafe-plugin.version>
|
2022-01-12 08:06:10 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkiverse.operatorsdk</groupId>
|
|
|
|
<artifactId>quarkus-operator-sdk-bom</artifactId>
|
|
|
|
<version>${quarkus.operator.sdk.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2022-01-27 09:56:46 +00:00
|
|
|
<!-- Fabric8 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>crd-generator-api</artifactId>
|
|
|
|
<version>${kubernetes-client.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>crd-generator-apt</artifactId>
|
|
|
|
<version>${kubernetes-client.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-01-12 08:06:10 +00:00
|
|
|
<!-- Quarkus -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkiverse.operatorsdk</groupId>
|
|
|
|
<artifactId>quarkus-operator-sdk</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkiverse.operatorsdk</groupId>
|
|
|
|
<artifactId>quarkus-operator-sdk-csv-generator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-resteasy-jackson</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-rest-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-rest-client-jackson</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-openshift</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-minikube</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-kubernetes-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- This dependency is needed only to ensure proper building order so that this module is build after the CSV extension -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkiverse.operatorsdk</groupId>
|
|
|
|
<artifactId>quarkus-operator-sdk-csv-generator-deployment</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Keycloak -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2022-01-27 09:56:46 +00:00
|
|
|
<artifactId>keycloak-common</artifactId>
|
2022-01-12 08:06:10 +00:00
|
|
|
</dependency>
|
2022-02-03 08:38:45 +00:00
|
|
|
|
|
|
|
<!-- Test -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-test-common</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-junit5</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj-core.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.awaitility</groupId>
|
|
|
|
<artifactId>awaitility</artifactId>
|
|
|
|
<version>${awaitility.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-01-12 08:06:10 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-maven-plugin</artifactId>
|
|
|
|
<version>${quarkus.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${compiler-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2022-01-13 10:34:35 +00:00
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-maven-plugin</artifactId>
|
|
|
|
<version>${quarkus.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>build</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2022-01-27 09:56:46 +00:00
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target</outputDirectory>
|
2022-02-03 08:38:45 +00:00
|
|
|
<resources>
|
2022-01-27 09:56:46 +00:00
|
|
|
<resource>
|
|
|
|
<directory>src/main/kubernetes</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>import-keycloak-core</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/keycloak-core</outputDirectory>
|
2022-02-03 08:38:45 +00:00
|
|
|
<resources>
|
2022-01-27 09:56:46 +00:00
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/../core/src/main/java</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
2022-01-13 10:34:35 +00:00
|
|
|
</execution>
|
|
|
|
</executions>
|
2022-01-12 08:06:10 +00:00
|
|
|
</plugin>
|
2022-01-27 09:56:46 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${basedir}/target/keycloak-core</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<version>1.6.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>patch-core-sources</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${basedir}/patch-sources.sh</executable>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2022-02-03 08:38:45 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>${maven-failsafe-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-01-12 08:06:10 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>native</id>
|
|
|
|
<properties>
|
|
|
|
<quarkus.package.type>native</quarkus.package.type>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|