Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quarkus21 create --registry-client -S 2.43 --dry-run test27899rr4j fails with non informative error #18774

Closed
maxandersen opened this issue Jul 16, 2021 · 2 comments · Fixed by #18824
Assignees
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) kind/bug Something isn't working
Milestone

Comments

@maxandersen
Copy link
Member

Describe the bug

with no registries configured and asking for nonexistent stream I get this:

quarkus21 create --registry-client -S 2.43 --dry-run test27899rr4j
Creating an app (default project type, see --help).
Refreshing the local extension catalog cache of registry.quarkus.io
Downloading from registry.quarkus.io: https://registry.quarkus.io/maven/io/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/maven-metadata.xml
Downloaded from registry.quarkus.io: https://registry.quarkus.io/maven/io/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/maven-metadata.xml (736 B at 650 B/s)
Downloading from registry.quarkus.io: https://registry.quarkus.io/maven/io/quarkus/registry/quarkus-platforms/1.0-SNAPSHOT/maven-metadata.xml
Downloaded from registry.quarkus.io: https://registry.quarkus.io/maven/io/quarkus/registry/quarkus-platforms/1.0-SNAPSHOT/maven-metadata.xml (726 B at 3.6 kB/s)
[ERROR] ❗  Unable to create project: Failed to resolve the Quarkus extension catalog

i would have expected a message saying something like:

"Stream io.quarkus.platform:2.43 not found. Try one of these:

  • io.quarkus.platform:2.0
  • io.quarkus.platform:2.1
    "

assuming 2.0 and 2.1 are present

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@maxandersen maxandersen added the kind/bug Something isn't working label Jul 16, 2021
@gastaldi gastaldi added area/cli Related to quarkus cli (not maven/gradle/etc.) and removed triage/needs-triage labels Jul 17, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 17, 2021

/cc @ebullient, @gsmet

@ebullient ebullient self-assigned this Jul 17, 2021
@ebullient
Copy link
Member

@aloubyansky .. the PR I have will nip this one, too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants