Update to Quarkus 3.0.1.Final (#20011)

Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>

Closes #20010
Closes #19080
Closes #17476
Closes #19286
Closes #17557
Closes #17556
Closes #17555
Closes #17475
Closes #15879
Closes #15878
This commit is contained in:
Bruno Oliveira da Silva 2023-05-02 05:13:23 -03:00 committed by GitHub
parent 81f80a725a
commit 373b5c1d9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 28 deletions

View file

@ -31,8 +31,8 @@
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.operator.sdk.version>6.0.0.CR1</quarkus.operator.sdk.version> <quarkus.operator.sdk.version>6.0.1</quarkus.operator.sdk.version>
<quarkus.version>3.0.0.CR1</quarkus.version> <quarkus.version>3.0.0.Final</quarkus.version>
<quarkus.container-image.group>keycloak</quarkus.container-image.group> <quarkus.container-image.group>keycloak</quarkus.container-image.group>
</properties> </properties>

37
pom.xml
View file

@ -41,7 +41,7 @@
<jboss.snapshots.repo.id>jboss-snapshots-repository</jboss.snapshots.repo.id> <jboss.snapshots.repo.id>jboss-snapshots-repository</jboss.snapshots.repo.id>
<jboss.snapshots.repo.url>https://s01.oss.sonatype.org/content/repositories/snapshots/</jboss.snapshots.repo.url> <jboss.snapshots.repo.url>https://s01.oss.sonatype.org/content/repositories/snapshots/</jboss.snapshots.repo.url>
<quarkus.version>3.0.0.Final</quarkus.version> <quarkus.version>3.0.1.Final</quarkus.version>
<project.build-time>${timestamp}</project.build-time> <project.build-time>${timestamp}</project.build-time>
@ -64,12 +64,13 @@
<apache.httpcomponents.httpcore.version>4.4.16</apache.httpcomponents.httpcore.version> <apache.httpcomponents.httpcore.version>4.4.16</apache.httpcomponents.httpcore.version>
<apache.mime4j.version>0.6</apache.mime4j.version> <apache.mime4j.version>0.6</apache.mime4j.version>
<jboss.dmr.version>1.5.1.Final</jboss.dmr.version> <jboss.dmr.version>1.5.1.Final</jboss.dmr.version>
<bouncycastle.version>1.70</bouncycastle.version> <bouncycastle.version>1.72</bouncycastle.version>
<bouncycastle-bcprov-jdk15on.version>1.70</bouncycastle-bcprov-jdk15on.version>
<!-- TODO Are these correct versions? --> <!-- TODO Are these correct versions? -->
<bouncycastle.fips.version>1.0.2.3</bouncycastle.fips.version> <bouncycastle.fips.version>1.0.2.3</bouncycastle.fips.version>
<bouncycastle.pkixfips.version>1.0.7</bouncycastle.pkixfips.version> <bouncycastle.pkixfips.version>1.0.7</bouncycastle.pkixfips.version>
<bouncycastle.tlsfips.version>1.0.14</bouncycastle.tlsfips.version> <bouncycastle.tlsfips.version>1.0.14.1</bouncycastle.tlsfips.version>
<cxf.version>3.3.10</cxf.version> <cxf.version>3.3.10</cxf.version>
<cxf.jetty.version>3.3.10</cxf.jetty.version> <cxf.jetty.version>3.3.10</cxf.jetty.version>
@ -78,12 +79,12 @@
<dom4j.version>2.1.3</dom4j.version> <dom4j.version>2.1.3</dom4j.version>
<h2.version>2.1.214</h2.version> <h2.version>2.1.214</h2.version>
<jakarta.persistence.version>2.2.3</jakarta.persistence.version> <jakarta.persistence.version>2.2.3</jakarta.persistence.version>
<hibernate-orm.version>6.2.0.Final</hibernate-orm.version> <hibernate-orm.version>6.2.1.Final</hibernate-orm.version>
<hibernate.c3p0.version>${hibernate-orm.version}</hibernate.c3p0.version> <hibernate.c3p0.version>${hibernate-orm.version}</hibernate.c3p0.version>
<infinispan.version>14.0.7.Final</infinispan.version> <infinispan.version>14.0.7.Final</infinispan.version>
<infinispan.protostream.processor.version>4.6.0.Final</infinispan.protostream.processor.version> <infinispan.protostream.processor.version>4.6.0.Final</infinispan.protostream.processor.version>
<jackson.version>2.13.4</jackson.version> <jackson.version>2.14.2</jackson.version>
<jackson.databind.version>2.13.4.2</jackson.databind.version> <jackson.databind.version>2.14.2</jackson.databind.version>
<jackson.annotations.version>${jackson.version}</jackson.annotations.version> <jackson.annotations.version>${jackson.version}</jackson.annotations.version>
<!--JAKARTA--> <!--JAKARTA-->
@ -134,10 +135,6 @@
<google.guava.version>30.1-jre</google.guava.version> <google.guava.version>30.1-jre</google.guava.version>
<xstream.version>1.4.20</xstream.version> <xstream.version>1.4.20</xstream.version>
<okhttp.version>4.10.0</okhttp.version> <okhttp.version>4.10.0</okhttp.version>
<!-- Override of SnakeYAML to fix multiple CVEs -->
<org.yaml.snakeyaml.version>1.33</org.yaml.snakeyaml.version>
<!-- Override sshd-common to fix CVE-2022-45047 -->
<org.apache.sshd.version>2.9.2</org.apache.sshd.version>
<org.snakeyaml.snakeyaml-engine.version>2.6</org.snakeyaml.snakeyaml-engine.version> <org.snakeyaml.snakeyaml-engine.version>2.6</org.snakeyaml.snakeyaml-engine.version>
<!-- Openshift --> <!-- Openshift -->
@ -154,7 +151,7 @@
<javaparser.version>3.24.2</javaparser.version> <javaparser.version>3.24.2</javaparser.version>
<jetty9.version>${jetty94.version}</jetty9.version> <jetty9.version>${jetty94.version}</jetty9.version>
<liquibase.version>4.16.1</liquibase.version> <liquibase.version>4.20.0</liquibase.version>
<osgi.version>4.2.0</osgi.version> <osgi.version>4.2.0</osgi.version>
<pax.web.version>7.1.0</pax.web.version> <pax.web.version>7.1.0</pax.web.version>
<servlet.api.30.version>1.0.2.Final</servlet.api.30.version> <servlet.api.30.version>1.0.2.Final</servlet.api.30.version>
@ -166,9 +163,9 @@
<mysql.version>8.0.23</mysql.version> <mysql.version>8.0.23</mysql.version>
<mysql-jdbc.version>8.0.30</mysql-jdbc.version> <mysql-jdbc.version>8.0.30</mysql-jdbc.version>
<postgresql.version>13.2</postgresql.version> <postgresql.version>13.2</postgresql.version>
<postgresql-jdbc.version>42.5.1</postgresql-jdbc.version> <postgresql-jdbc.version>42.6.0</postgresql-jdbc.version>
<mariadb.version>10.6</mariadb.version> <mariadb.version>10.6</mariadb.version>
<mariadb-jdbc.version>2.7.2</mariadb-jdbc.version> <mariadb-jdbc.version>3.1.3</mariadb-jdbc.version>
<mssql.version>2019-latest</mssql.version> <mssql.version>2019-latest</mssql.version>
<mssql-jdbc.version>9.2.0.jre8</mssql-jdbc.version> <mssql-jdbc.version>9.2.0.jre8</mssql-jdbc.version>
<!-- this is the oracle driver version also used in the Quarkus BOM --> <!-- this is the oracle driver version also used in the Quarkus BOM -->
@ -315,16 +312,6 @@
<artifactId>xstream</artifactId> <artifactId>xstream</artifactId>
<version>${xstream.version}</version> <version>${xstream.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${org.yaml.snakeyaml.version}</version>
</dependency>
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-common</artifactId>
<version>${org.apache.sshd.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.snakeyaml</groupId> <groupId>org.snakeyaml</groupId>
<artifactId>snakeyaml-engine</artifactId> <artifactId>snakeyaml-engine</artifactId>
@ -396,12 +383,12 @@
<dependency> <dependency>
<groupId>org.bouncycastle</groupId> <groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId> <artifactId>bcprov-jdk15on</artifactId>
<version>${bouncycastle.version}</version> <version>${bouncycastle-bcprov-jdk15on.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.bouncycastle</groupId> <groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId> <artifactId>bcpkix-jdk15on</artifactId>
<version>${bouncycastle.version}</version> <version>${bouncycastle-bcprov-jdk15on.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.bouncycastle</groupId> <groupId>org.bouncycastle</groupId>

View file

@ -7,7 +7,7 @@ It is possible to download the Keycloak distribution from a URL:
docker build --build-arg KEYCLOAK_DIST=http://<HOST>:<PORT>/keycloak-<VERSION>.tar.gz . -t <YOUR_TAG> docker build --build-arg KEYCLOAK_DIST=http://<HOST>:<PORT>/keycloak-<VERSION>.tar.gz . -t <YOUR_TAG>
Alternatively, you need to build the local distribution first, then copy the distributions tar package in the `containers` folder and point the build command to use the image: Alternatively, you need to build the local distribution first, then copy the distributions tar package in the `container` folder and point the build command to use the image:
cp $KEYCLOAK_SOURCE/quarkus/dist/target/keycloak-<VERSION>.tar.gz . cp $KEYCLOAK_SOURCE/quarkus/dist/target/keycloak-<VERSION>.tar.gz .
docker build --build-arg KEYCLOAK_DIST=keycloak-<VERSION>.tar.gz . -t <YOUR_TAG> docker build --build-arg KEYCLOAK_DIST=keycloak-<VERSION>.tar.gz . -t <YOUR_TAG>