Skip to content

Commit

Permalink
Merge pull request #38372 from gsmet/update-model
Browse files Browse the repository at this point in the history
Use UpdateDependencyVersionOperation first to update Quarkus version
  • Loading branch information
gsmet authored Jan 25, 2024
2 parents 35f9159 + f2fda62 commit a21598e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ public static FetchResult createRecipe(MessageWriter log, Path target, MavenArti
}
switch (request.buildTool) {
case MAVEN:
recipe.addOperation(new UpdatePropertyOperation("quarkus.platform.version", request.targetVersion))
recipe.addOperation(
new UpdateDependencyVersionOperation("io.quarkus.platform", "quarkus-bom", request.targetVersion))
.addOperation(new UpdateDependencyVersionOperation("io.quarkus", "quarkus-bom", request.targetVersion))
.addOperation(new UpdateDependencyVersionOperation("io.quarkus", "quarkus-universe-bom",
request.targetVersion))
.addOperation(new UpdatePropertyOperation("quarkus.platform.version", request.targetVersion))
.addOperation(new UpdatePropertyOperation("quarkus.version", request.targetVersion))
.addOperation(new UpdatePropertyOperation("quarkus-plugin.version", request.targetVersion));
if (request.kotlinVersion != null) {
Expand Down

0 comments on commit a21598e

Please sign in to comment.