Closed rsvoboda closed 2 years ago
/cc @quarkusio/devtools
The project can be generated, but it's caused by https://github.com/quarkusio/quarkus/issues/19250
rm -rf app-generated-skeleton && mvn io.quarkus:quarkus-maven-plugin:2.6.3.Final:create -DprojectGroupId=my-groupId -DprojectArtifactId=app-generated-skeleton -DprojectVersion=1.0.0-SNAPSHOT -DpackageName=org.my.group -DplatformVersion=2.6.3.Final -Dextensions=quarkus-infinispan-client
works fine, closing
Describe the bug
quarkus-maven-plugin:2.1.0.Final:create fails when
-DplatformVersion=2.1.0.Final
is specifiedRunning
rm -rf app-generated-skeleton && mvn io.quarkus:quarkus-maven-plugin:2.1.0.Final:create -DprojectGroupId=my-groupId -DprojectArtifactId=app-generated-skeleton -DprojectVersion=1.0.0-SNAPSHOT -DpackageName=org.my.group -DplatformVersion=2.1.0.Final -Dextensions=quarkus-infinispan-client
ends up with failure. Running the same command but using2.0.0.Final
works.This is obviously related to the split of the BOM, when I drop
-DplatformVersion=2.1.0.Final
from the command the project gets generated.Expected behavior
Project gets generated using quarkus-bom when
-DplatformVersion=2.1.0.Final
is specifiedThere are some defaults used as when no
-DplatformVersion=2.1.0.Final
is used, project gets generated.Seems like the the default for
ArtifactId
gets reset when platform version is specified.Actual behavior
Build failure
How to Reproduce?
rm -rf app-generated-skeleton && mvn io.quarkus:quarkus-maven-plugin:2.1.0.Final:create -DprojectGroupId=my-groupId -DprojectArtifactId=app-generated-skeleton -DprojectVersion=1.0.0-SNAPSHOT -DpackageName=org.my.group -DplatformVersion=2.1.0.Final -Dextensions=quarkus-infinispan-client
Output of
uname -a
orver
macOS BigSur
Output of
java -version
Java 11
GraalVM version (if different from Java)
No response
Quarkus version or git rev
Quarkus 2.1.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response