quarkusio / quarkus

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

quarkus create against streams that requires non maven central bits #22279

Open maxandersen opened 2 years ago

maxandersen commented 2 years ago

Description

doing quarkus create -S 2.2 with registry.quarkus.redhat.com gives you:

quarkus create -S 2.2
Creating an app (default project type, see --help).
Downloading from registry.quarkus.redhat.com: https://registry.quarkus.redhat.com/maven/com/redhat/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/maven-metadata.xml
Downloaded from registry.quarkus.redhat.com: https://registry.quarkus.redhat.com/maven/com/redhat/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/maven-metadata.xml (778 B at 861 B/s)
Downloading from registry.quarkus.redhat.com: https://registry.quarkus.redhat.com/maven/com/redhat/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/quarkus-registry-descriptor-1.0-20211201.033956-1.json
Downloaded from registry.quarkus.redhat.com: https://registry.quarkus.redhat.com/maven/com/redhat/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/quarkus-registry-descriptor-1.0-20211201.033956-1.json (490 B at 1.9 kB/s)
Looking for the newly published extensions in registry.quarkus.redhat.com
Downloading from registry.quarkus.redhat.com: https://registry.quarkus.redhat.com/maven/com/redhat/quarkus/registry/quarkus-platforms/1.0-SNAPSHOT/maven-metadata.xml
Downloaded from registry.quarkus.redhat.com: https://registry.quarkus.redhat.com/maven/com/redhat/quarkus/registry/quarkus-platforms/1.0-SNAPSHOT/maven-metadata.xml (768 B at 2.9 kB/s)
Downloading from registry.quarkus.redhat.com: https://registry.quarkus.redhat.com/maven/com/redhat/quarkus/registry/quarkus-platforms/1.0-SNAPSHOT/quarkus-platforms-1.0-20211201.033956-1.json
Downloaded from registry.quarkus.redhat.com: https://registry.quarkus.redhat.com/maven/com/redhat/quarkus/registry/quarkus-platforms/1.0-SNAPSHOT/quarkus-platforms-1.0-20211201.033956-1.json (469 B at 1.8 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/com/redhat/quarkus/platform/quarkus-bom-quarkus-platform-descriptor/2.2.3.Final-redhat-00013/quarkus-bom-quarkus-platform-descriptor-2.2.3.Final-redhat-00013-2.2.3.Final-redhat-00013.json
[WARN] 🔥  Failed to resolve platform com.redhat.quarkus.platform:quarkus-bom::pom:2.2.3.Final-redhat-00013 using the following registries: registry.quarkus.redhat.com
[ERROR] ❗  Unable to create project: Failed to resolve platform com.redhat.quarkus.platform:quarkus-bom::pom:2.2.3.Final-redhat-00013 using the following registries: registry.quarkus.redhat.com

As I recall we have metadata that code.quarkus uses to create pom.xml with the right maven repo in place...could we utilize that somehow ? at least to give a hint to the user they should go add the repository in ~/.m2/settings.xml?

Implementation ideas

No response

quarkus-bot[bot] commented 2 years ago

/cc @quarkusio/devtools

maxandersen commented 2 years ago

actually - for non-maven we 'll need something else than just maven bound config.