Skip to content

Commit

Permalink
Use Quarkus Platform BOM
Browse files Browse the repository at this point in the history
* added Quarkus Platform BOM
* added Quarkus Operator SDK BOM

Closes keycloak#20570

Signed-off-by: Peter Zaoral <[email protected]>
  • Loading branch information
Pepo48 committed Jul 2, 2023
1 parent 91e543f commit 4e3e2ca
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
17 changes: 6 additions & 11 deletions operator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
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>
Expand All @@ -31,17 +30,15 @@
<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.1.1</quarkus.operator.sdk.version>
<quarkus.operator.build.version>3.1.1.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,12 +51,10 @@
<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>
Expand Down Expand Up @@ -158,7 +153,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 +165,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 +255,7 @@
</systemPropertyVariables>
</configuration>
</plugin>

<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,13 @@
<dependencyManagement>

<dependencies>
<dependency>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${quarkus.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
Expand Down
8 changes: 0 additions & 8 deletions quarkus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${quarkus.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- Override the dependencies below to use the versions used by Keycloak -->
<dependency>
<groupId>org.infinispan</groupId>
Expand Down
7 changes: 7 additions & 0 deletions testsuite/integration-arquillian/tests/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,13 @@
<scope>provided</scope>
</dependency>

<!-- FIXME: Override in order to prevent NoClassDefFoundError: org/jboss/threads/AsyncFuture in ClientContainerController -->
<dependency>
<groupId>org.jboss.threads</groupId>
<artifactId>jboss-threads</artifactId>
<version>2.4.0.Final</version>
</dependency>

<dependency>
<groupId>org.jboss.spec.javax.servlet</groupId>
<artifactId>jboss-servlet-api_3.0_spec</artifactId>
Expand Down

0 comments on commit 4e3e2ca

Please sign in to comment.