Quarkus CLI updates only RHBQ platform version, other BOMs are not updated - e.g quarkus-amazon-services-bom.
All the Quarkus/Quarkiverse related BOMs are updated when running quarkus update command with community bits. This doesn't apply when the application uses RHBQ bits.
BOM definition and properties look like this after update:
<properties> <compiler-plugin.version>3.12.1</compiler-plugin.version> <maven.compiler.release>17</maven.compiler.release> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> <quarkus.platform.group-id>com.redhat.quarkus.platform</quarkus.platform.group-id> <quarkus.platform.version>3.15.1.redhat-00002</quarkus.platform.version> <skipITs>true</skipITs> <surefire-plugin.version>3.2.3</surefire-plugin.version> </properties>
<dependencyManagement> <dependencies> <dependency> <groupId>${quarkus.platform.group-id}</groupId> <artifactId>${quarkus.platform.artifact-id}</artifactId> <version>${quarkus.platform.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.quarkus.platform</groupId> <artifactId>quarkus-amazon-services-bom</artifactId> <version>3.2.12.Final</version> <== THIS IS NOT UPDATED <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
CC gsmet@redhat.com olubyans@redhat.com
Reproducer:
- get 3.2 based application from https://code.quarkus.redhat.com/?e=io.quarkiverse.amazonservices%3Aquarkus-amazon-sqs&e=resteasy-reactive&S=com.redhat.quarkus.platform%3A3.2&extension-search=origin:platform%20quarkus-res
- includes amazon-sqs extension
- Configure product registry
- Optional - run git init && git add -A && git commit -m "Init" to see the changes after update using git diff
- run update command similar to mvn com.redhat.quarkus.platform:quarkus-maven-plugin:3.15.1.redhat-00002:update -Dmaven.repo.local=/Users/rsvoboda/Downloads/rh-quarkus-platform-3.15.1.GA-maven-repository/maven-repository
- you can use mvn com.redhat.quarkus.platform:quarkus-maven-plugin:3.8.6.SP1-redhat-00002:update to avoid need to download CR1 bits and to configure mapping for registry.quarkus.redhat.com entry in ~/.quarkus/config.yaml
NOTE: When migrating from RHBQ 2.13 application with amazon-sqs the process fails completely because the app can't be compiled (there is process-sources goal being invoked during the upgrade).