quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.58k stars 2.63k forks source link

Update command - tolerate non-quarkus modules in multi-module project #43405

Open rsvoboda opened 2 hours ago

rsvoboda commented 2 hours ago

Description

Update command should be able to tolerate non-quarkus modules in multi-module project

I hit that with quarkus-super-heroes when I tried to update it to the latest Quarkus version

Reproducer:

git clone https://github.com/quarkusio/quarkus-super-heroes -b 3.8.Final
cd quarkus-super-heroes
mvn io.quarkus:quarkus-maven-plugin:3.14.4:update

The command ends on scripts/jmeter module saying [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:3.14.4:update (default-cli) on project jmeter-scripts: Failed to apply the updates: Project Java version not detected, set maven.compiler.release property in your build file to fix the error. -> [Help 1]

When I add the property, it ends with [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:3.14.4:update (default-cli) on project jmeter-scripts: Failed to apply the updates: The project does not import any Quarkus platform BOM -> [Help 1]

Quarkus update tooling should be able handle multi-module projects that are not necessarily 100% Quarkus based.

Implementation ideas

N/A

quarkus-bot[bot] commented 2 hours ago

/cc @ebullient (cli), @maxandersen (cli)