From 39c7c815e9098228ecd888ed7681968836cbab2c Mon Sep 17 00:00:00 2001 From: Peter Zaoral Date: Thu, 25 May 2023 19:00:49 +0200 Subject: [PATCH] Use Quarkus Platform BOM Closes #20570 Closes #15870 Co-authored-by: Peter Zaoral --- authz/policy-enforcer/pom.xml | 2 - operator/pom.xml | 26 +-- pom.xml | 218 +----------------- quarkus/pom.xml | 16 -- quarkus/runtime/pom.xml | 5 - quarkus/tests/integration/pom.xml | 2 - .../servers/app-server/tomcat/pom.xml | 3 - .../integration-arquillian/tests/base/pom.xml | 8 +- testsuite/integration-arquillian/util/pom.xml | 3 - 9 files changed, 22 insertions(+), 261 deletions(-) diff --git a/authz/policy-enforcer/pom.xml b/authz/policy-enforcer/pom.xml index 5c00fa4468f4..767283ce988b 100755 --- a/authz/policy-enforcer/pom.xml +++ b/authz/policy-enforcer/pom.xml @@ -31,7 +31,6 @@ jar - 6.0.0 2.0.0.Final @@ -45,7 +44,6 @@ jakarta.servlet jakarta.servlet-api - ${jakarta.servlet.version} true diff --git a/operator/pom.xml b/operator/pom.xml index ab87db0c04c4..8d5c2367f996 100644 --- a/operator/pom.xml +++ b/operator/pom.xml @@ -15,15 +15,6 @@ keycloak-operator - - 1.5.4.Final-format-001 - 6.6.2 - 3.8.1 true 11 @@ -31,17 +22,15 @@ 11 UTF-8 UTF-8 - 6.2.0 - 3.2.0.Final keycloak - + - io.quarkiverse.operatorsdk + io.quarkus.platform quarkus-operator-sdk-bom - ${quarkus.operator.sdk.version} + ${quarkus.version} pom import @@ -54,17 +43,14 @@ io.fabric8 crd-generator-api - ${kubernetes-client.version} io.fabric8 crd-generator-apt - ${kubernetes-client.version} io.fabric8 kubernetes-junit-jupiter - ${kubernetes-client.version} test @@ -158,7 +144,7 @@ io.quarkus quarkus-maven-plugin - ${quarkus.operator.build.version} + ${quarkus.build.version} maven-compiler-plugin @@ -170,7 +156,7 @@ io.quarkus quarkus-maven-plugin - ${quarkus.operator.build.version} + ${quarkus.build.version} @@ -260,7 +246,7 @@ - + maven-antrun-plugin diff --git a/pom.xml b/pom.xml index 3cd0d2ec301a..a10a7f72f503 100644 --- a/pom.xml +++ b/pom.xml @@ -62,16 +62,12 @@ 0.66.19 - 2.4 4.5.14 - 4.4.16 1.5.1.Final 1.70 - 1.0.2.3 1.0.7 - 1.0.14.1 3.3.10 3.3.10 @@ -79,32 +75,20 @@ 3.3.10 2.1.3 2.1.214 - 6.2.5.Final 6.2.5.Final - ${hibernate-orm.version} + 6.2.5.Final 14.0.10.Final 4.6.2.Final - 2.15.2 - ${jackson.version} - ${jackson.version} - 3.1.0 2.1.1 2.0.1 - 6.0.0 - 3.1.0 4.0.0 - 4.0.0 - 2.0.1 - 2.1.2 3.0.0 1.0.2.Final 2.0.2.Final 2.0.0.Final - 3.5.1.Final - 2.2.1.Final 2.1.19.Final 2.0.11.Final 2.0.1.Final @@ -114,13 +98,11 @@ 6.2.4.Final ${resteasy.version} 20220608.1 - 2.0.6 2.0.6 3.0.10 2.0.1 2.3.3-b02 4.0.0 - 1.3.2 1.2.2 2.3.3-b02 2.2.24.Final @@ -129,8 +111,8 @@ 1.9.0.Final 9.4.40.v20210413 6.0.3 - 2.2.3 1.6.0.Final + 2.2.3 15.4 1.5.4 5.0.3.Final @@ -140,13 +122,10 @@ 2.6 - 3.12.0 - 2.11.0 2.0.0.AM26 2.0.0 3.4.0 2.3.31 - 3.24.2 ${jetty94.version} 4.20.0 @@ -155,7 +134,6 @@ 1.0.2.Final 2.0.0.Final 4.1.2 - 4.5.1 8.0 @@ -183,11 +161,6 @@ 3.1.7 4.1.1 3.22.0 - - 3.0.1 - 3.1 1.17.5 @@ -311,6 +284,13 @@ + + io.quarkus.platform + quarkus-bom + ${quarkus.version} + pom + import + com.thoughtworks.xstream xstream @@ -384,16 +364,6 @@ bcpkix-jdk15on ${bouncycastle-bcprov-jdk15on.version} - - org.bouncycastle - bc-fips - ${bouncycastle.fips.version} - - - org.bouncycastle - bctls-fips - ${bouncycastle.tlsfips.version} - org.bouncycastle bcpkix-fips @@ -417,36 +387,11 @@ angus-mail ${angus.mail.version} - - jakarta.ws.rs - jakarta.ws.rs-api - ${jakarta.ws.rs.version} - - - jakarta.transaction - jakarta.transaction-api - ${jakarta.transaction.version} - - - jakarta.activation - jakarta.activation-api - ${jakarta.activation.version} - jakarta.xml.ws jakarta.xml.ws-api ${jakarta.xml.ws.version} - - jakarta.xml.bind - jakarta.xml.bind-api - ${jakarta.xml.bind.version} - - - jakarta.servlet - jakarta.servlet-api - ${jakarta.servlet.version} - jakarta.xml.soap jakarta.xml.soap-api @@ -532,62 +477,12 @@ undertow-core ${undertow.version} - - com.fasterxml.jackson.core - jackson-core - ${jackson.version} - - - com.fasterxml.jackson.core - jackson-databind - ${jackson.databind.version} - - - com.fasterxml.jackson.core - jackson-annotations - ${jackson.version} - - - com.fasterxml.jackson.module - jackson-module-jaxb-annotations - ${jackson.version} - - - com.fasterxml.jackson.datatype - jackson-datatype-jdk8 - ${jackson.version} - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-json-provider - ${jackson.version} - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-base - ${jackson.version} - org.picketlink picketlink-wildfly-common ${picketlink.version} test - - org.jboss.logging - jboss-logging - ${jboss.logging.version} - - - org.jboss.logging - jboss-logging-annotations - ${jboss.logging.tools.version} - - - org.jboss.logging - jboss-logging-processor - ${jboss.logging.tools.version} - log4j log4j @@ -615,22 +510,12 @@ ${hamcrest.version} test - - jakarta.persistence - jakarta.persistence-api - ${jakarta.persistence.version} - com.h2database h2 ${h2.version} test - - org.hibernate.orm - hibernate-core - ${hibernate-orm.version} - org.hibernate.orm hibernate-c3p0 @@ -773,12 +658,6 @@ ${xml-apis.version} test - - - org.slf4j - slf4j-api - ${slf4j-api.version} - org.slf4j slf4j-reload4j @@ -797,22 +676,6 @@ httpclient ${apache.httpcomponents.version} - - org.apache.httpcomponents - httpcore - ${apache.httpcomponents.httpcore.version} - - - org.apache.httpcomponents - httpmime - ${apache.httpcomponents.version} - - - commons-logging - commons-logging - - - org.wildfly.core wildfly-controller @@ -952,16 +815,6 @@ wildfly-clustering-infinispan-marshalling ${wildfly.version} - - org.wildfly.security - wildfly-elytron - ${wildfly-elytron.version} - - - org.wildfly.common - wildfly-common - ${wildfly.common.version} - org.wildfly.security.elytron-web undertow-server @@ -1131,11 +984,6 @@ aesh ${jboss.aesh.version} - - org.aesh - aesh - ${aesh.version} - @@ -1180,11 +1028,6 @@ keycloak-sssd-federation ${project.version} - - net.java.dev.jna - jna - ${jna.version} - org.keycloak keycloak-ldap-federation @@ -1790,49 +1633,11 @@ kerby-asn1 ${org.apache.kerby.kerby-asn1.version} - - com.fasterxml.jackson.dataformat - jackson-dataformat-cbor - ${jackson.version} - commons-lang commons-lang ${commons-lang.version} - - org.apache.commons - commons-lang3 - ${commons-lang3.version} - - - commons-io - commons-io - ${commons-io.version} - - - com.github.javaparser - javaparser-core - ${javaparser.version} - - - - org.eclipse.microprofile.metrics - microprofile-metrics-api - ${microprofile-metrics-api.version} - - - org.osgi - org.osgi.annotation.versioning - - - - - - org.eclipse.microprofile.openapi - microprofile-openapi-api - ${microprofile-openapi-api.version} - @@ -1902,11 +1707,6 @@ jboss-servlet-api_4.0_spec ${jboss-servlet-api_4.0_spec} - - javax.annotation - javax.annotation-api - ${javax.annotation-api.version} - diff --git a/quarkus/pom.xml b/quarkus/pom.xml index 8443e2aec1e4..a3fbb926d2ac 100644 --- a/quarkus/pom.xml +++ b/quarkus/pom.xml @@ -31,14 +31,6 @@ pom - 1.5.4.Final-format-001 - - - ${wildfly-common.version} - UTF-8 3.8.1 17 @@ -48,14 +40,6 @@ - - io.quarkus - quarkus-bom - ${quarkus.version} - pom - import - - org.infinispan diff --git a/quarkus/runtime/pom.xml b/quarkus/runtime/pom.xml index 0ed87c730596..a795218738cc 100644 --- a/quarkus/runtime/pom.xml +++ b/quarkus/runtime/pom.xml @@ -92,11 +92,6 @@ quarkus-logging-gelf - - org.wildfly.security - wildfly-elytron - - io.smallrye.config diff --git a/quarkus/tests/integration/pom.xml b/quarkus/tests/integration/pom.xml index 510ed031813d..fa5b44d4899b 100644 --- a/quarkus/tests/integration/pom.xml +++ b/quarkus/tests/integration/pom.xml @@ -58,7 +58,6 @@ org.bouncycastle bc-fips - ${bouncycastle.fips.version} test @@ -70,7 +69,6 @@ org.bouncycastle bctls-fips - ${bouncycastle.tlsfips.version} test diff --git a/testsuite/integration-arquillian/servers/app-server/tomcat/pom.xml b/testsuite/integration-arquillian/servers/app-server/tomcat/pom.xml index a009e399598a..ceb6f924d843 100644 --- a/testsuite/integration-arquillian/servers/app-server/tomcat/pom.xml +++ b/testsuite/integration-arquillian/servers/app-server/tomcat/pom.xml @@ -126,7 +126,6 @@ org.apache.httpcomponents httpcore - ${apache.httpcomponents.httpcore.version} org.reactivestreams @@ -136,12 +135,10 @@ com.fasterxml.jackson.core jackson-databind - ${jackson.version} org.jboss.logging jboss-logging - ${jboss.logging.version} javax.json.bind diff --git a/testsuite/integration-arquillian/tests/base/pom.xml b/testsuite/integration-arquillian/tests/base/pom.xml index cb0d56b4abfd..4efc780e8fee 100644 --- a/testsuite/integration-arquillian/tests/base/pom.xml +++ b/testsuite/integration-arquillian/tests/base/pom.xml @@ -75,7 +75,6 @@ commons-io commons-io - ${commons-io.version} org.keycloak.testsuite @@ -189,6 +188,13 @@ provided + + + org.jboss.threads + jboss-threads + 2.4.0.Final + + org.jboss.spec.javax.servlet jboss-servlet-api_3.0_spec diff --git a/testsuite/integration-arquillian/util/pom.xml b/testsuite/integration-arquillian/util/pom.xml index ac29c585304b..07ab5b19ef25 100644 --- a/testsuite/integration-arquillian/util/pom.xml +++ b/testsuite/integration-arquillian/util/pom.xml @@ -94,13 +94,11 @@ commons-io commons-io - ${commons-io.version} compile jakarta.ws.rs jakarta.ws.rs-api - ${jakarta.ws.rs.version} junit @@ -120,7 +118,6 @@ jakarta.servlet jakarta.servlet-api - ${jakarta.servlet.version}