Quarkus platform BOM revert leaves unresolved extension version mismatch
0 reputation · 06 Jul 2020, 00:57 UTC
0 reputation · 06 Jul 2020, 00:57 UTC
The goal is to determine whether reverting quarkus.platform.version after an attempted Quarkus platform upgrade reliably realigns all Quarkus extensions with the reverted platform BOM. A failed or partial upgrade can leave extension versions from the newer release mixed with the reverted platform, but it is unclear whether the build tool regenerates a fully consistent resolution from the build configuration alone.
This is a design question for Quarkus 3.x, where the platform BOM governs extension alignment and no automatic rollback command is documented. Application code that depends on internal Quarkus or extension APIs may behave differently even if the BOM version appears correct.
Questions:
35275 reputation · 06 Jul 2020, 03:18 UTC
Reverting the quarkus.platform.version property does not automatically guarantee that every extension is realigned if the project configuration was modified during the upgrade attempt. While the BOM (Bill of Materials) defines the intended versions, the build tool's resolution logic takes precedence over the BOM in specific scenarios.
In a standard Quarkus 3.x setup, the BOM manages versions for all io.quarkus artifacts. However, a revert may fail to align versions if:
pom.xml or build.gradle during the upgrade (rather than relying on the BOM), those explicit declarations override the reverted BOM.To force a complete realignment with the reverted platform version, follow these steps:
<version> tags from Quarkus extensions in your build file. Ensure they rely solely on the BOM management.--refresh-dependencies flag.# For Maven
mvn dependency:tree -Dincludes=io.quarkus
# For Gradle
./gradlew dependencies --configuration compileClasspath | grep io.quarkus
The only definitive check is the dependency tree. Compare the output of the commands above against the official release notes for your reverted version. If you see a mix of versions (e.g., some 3.x.1 and some 3.x.5), a dependency is overriding the BOM.
Required Diagnostic: Are you using any third-party "starter" libraries or custom BOMs that might be importing a different version of the Quarkus platform transitively?
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.