Unable to create a new Quarkus project with Apache Maven 3.9.0
Issue
Creating a new Quarkus application project with Apache Maven 3.9.0 fails as follows:
$ mvn com.redhat.quarkus.platform:quarkus-maven-plugin:2.13.7.Final-redhat-00003:create \
> -DprojectGroupId=org.acme \
> -DprojectArtifactId=getting-started \
> -DplatformGroupId=com.redhat.quarkus.platform \
> -DplatformVersion=2.13.7.Final-redhat-00003 \
> -DclassName="org.acme.quickstart.GreetingResource" \
> -Dpath="/hello"
...
[WARNING] Failed to load platform catalog from /home/redhat/.m2/repository/io/quarkus/registry/quarkus-platforms/1.0-SNAPSHOT/quarkus-platforms-1.0-SNAPSHOT-2.13.7.Final-redhat-00003.json
[WARNING] The extension catalog will be narrowed to the com.redhat.quarkus.platform:quarkus-bom:2.13.7.Final-redhat-00003 platform release.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.111 s
[INFO] Finished at: 2023-02-17T21:38:03+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.redhat.quarkus.platform:quarkus-maven-plugin:2.13.7.Final-redhat-00003:create (default-cli) on project standalone-pom: Execution default-cli of goal com.redhat.quarkus.platform:quarkus-maven-plugin:2.13.7.Final-redhat-00003:create failed: A required class was missing while executing com.redhat.quarkus.platform:quarkus-maven-plugin:2.13.7.Final-redhat-00003:create: org/eclipse/aether/connector/basic/BasicRepositoryConnectorFactory
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>com.redhat.quarkus.platform:quarkus-maven-plugin:2.13.7.Final-redhat-00003
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/redhat/.m2/repository/com/redhat/quarkus/platform/quarkus-maven-plugin/2.13.7.Final-redhat-00003/quarkus-maven-plugin-2.13.7.Final-redhat-00003.jar
[ERROR] urls[1] = file:/home/redhat/.m2/repository/io/quarkus/quarkus-bootstrap-core/2.13.7.Final-redhat-00003/quarkus-bootstrap-core-2.13.7.Final-redhat-00003.jar
...
Environment
- Red Hat build of Quarkus (RHBQ)
- 2.13
- Apache Maven
- 3.9.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.