Closed Giovds closed 3 hours ago
/cc @quarkusio/devtools (maven)
Thanks for the report. We don't support Maven 4 for now. It's still a beta and it will require quite a lot of work on our side. Maybe we should find a place to mention it.
We will at some point for sure.
Duplicate of https://github.com/quarkusio/quarkus/issues/37627
Describe the bug
On the getting started site the user is asked to generate a project with the following plugin
When using maven 4 beta-4 the plugin fails with the following error:
Expected behavior
I expect the build to succeed as it does with maven 3.x
Actual behavior
It fails due to an API incompatibility
How to Reproduce?
mvn io.quarkus.platform:quarkus-maven-plugin:3.15.1:create -DprojectGroupId=org.acme -DprojectArtifactId=getting-started -Dextensions='rest'
Output of
uname -a
orver
Darwin Kernel Version 24.0.0
Output of
java -version
OpenJDK 64-Bit Server VM Zulu23
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)Maven 4
Additional information
This probably requires to https://github.com/fabric8io/maven-model-helper to be compatible with Maven 4, because it is used in the SmartPomMergeCodestartFileStrategyHandler.java