Skip to content

Commit

Permalink
Use Quarkus Platform BOM
Browse files Browse the repository at this point in the history
Closes keycloak#20570
Closes keycloak#15870

Co-authored-by: Peter Zaoral <[email protected]>
  • Loading branch information
Pepo48 authored and vmuzikar committed Jul 4, 2023
1 parent 47a3682 commit 39c7c81
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 261 deletions.
2 changes: 0 additions & 2 deletions authz/policy-enforcer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<packaging>jar</packaging>

<properties>
<jakarta.servlet.version>6.0.0</jakarta.servlet.version>
<wildfly-elytron.version>2.0.0.Final</wildfly-elytron.version>
</properties>

Expand All @@ -45,7 +44,6 @@
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>${jakarta.servlet.version}</version>
<optional>true</optional>
</dependency>
<dependency>
Expand Down
26 changes: 6 additions & 20 deletions operator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,22 @@
<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
-->
<wildfly.common.version>1.5.4.Final-format-001</wildfly.common.version>
<kubernetes-client.version>6.6.2</kubernetes-client.version>

<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>
<quarkus.operator.sdk.version>6.2.0</quarkus.operator.sdk.version>
<quarkus.operator.build.version>3.2.0.Final</quarkus.operator.build.version>
<quarkus.container-image.group>keycloak</quarkus.container-image.group>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.quarkiverse.operatorsdk</groupId>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-operator-sdk-bom</artifactId>
<version>${quarkus.operator.sdk.version}</version>
<version>${quarkus.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -54,17 +43,14 @@
<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>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-junit-jupiter</artifactId>
<version>${kubernetes-client.version}</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -158,7 +144,7 @@
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.operator.build.version}</version>
<version>${quarkus.build.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Expand All @@ -170,7 +156,7 @@
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.operator.build.version}</version>
<version>${quarkus.build.version}</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -260,7 +246,7 @@
</systemPropertyVariables>
</configuration>
</plugin>

<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
Expand Down
Loading

0 comments on commit 39c7c81

Please sign in to comment.