quarkus create app
requires platform Maven repositories to be enabled in user settings.xml
#45814
Labels
area/devtools
Issues/PR related to maven, gradle, platform and cli tooling/plugins
area/maven
kind/enhancement
New feature or request
Description
When a user creates a new project with
quarkus app create
, the dev tools will need to resolve the platform descriptors, codestarts and other artifacts from a Maven repository. If that Maven repository is not Central, for that to work, that Maven repository would have to be configured and enabled in the usersettings.xml
. Once the project is generated, the generatedpom.xml
typically includes the custom Maven repository configuration (in the case of RHBQ, for example), so the generated project can be built.The requirement of pre-configuring the Maven repository in the user
settings.xml
could be relaxed though. Taking RHBQ as an example, its registry descriptor could include the Maven repository URL that could be used to resolve the platform descriptors.The registry client would use the Maven repository URL to resolve the platform descriptors if that Maven repository has not yet been configured in the user
settings.xml
.To demonstrate the issue, create the following configuration file under
~/.quarkus/config.yaml
:and run (without pre-configuring https://repo.maven.apache.org/maven2 in the
settings.xml
)Implementation ideas
No response
The text was updated successfully, but these errors were encountered: