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

cannot create 999-snapshot project #19754

Closed
maxandersen opened this issue Aug 28, 2021 · 3 comments · Fixed by #19810
Closed

cannot create 999-snapshot project #19754

maxandersen opened this issue Aug 28, 2021 · 3 comments · Fixed by #19810
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

using:

 quarkus --version
Client Version 2.1.3.Final

running:

 quarkus create -P 999-SNAPSHOT ss2
Creating an app (default project type, see --help).
[ERROR] ❗  Unable to create project: Failed to resolve the default platform JSON descriptor

should I not get a 999-SNAPSHOT based project or is sometihng else needed ?

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 Aug 28, 2021
@maxandersen
Copy link
Member Author

quarkus create -P io.quarkus:quarkus-core:999-SNAPSHOT seem to whats needed which makes sense.

But would be good we could list the "known" platforms quarkus cli has. just to give people a chance to locate the right one for them.

@ebullient ebullient self-assigned this Aug 31, 2021
@ebullient ebullient added area/cli Related to quarkus cli (not maven/gradle/etc.) and removed triage/needs-triage labels Aug 31, 2021
@ebullient
Copy link
Member

specifying the partial (999-SNAPSHOT) should have worked, and certainly did at one point. You shouldn't have to specify that much to get a local build to work.

@ebullient
Copy link
Member

ebullient commented Aug 31, 2021

We broke this when we changed the default group id to io.quarkus.platform

This also works:
quarkus create -P io.quarkus::999-SNAPSHOT

@maxandersen : the question is: do we want to change the default group to io.quarkus if 999-SNAPSHOT is used? Do we want to publish a snapshot of io.quarkus.platform?

@quarkus-bot quarkus-bot bot added this to the 2.3 - main milestone Sep 1, 2021
@gsmet gsmet modified the milestones: 2.3 - main, 2.2.2.Final Sep 6, 2021
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.

3 participants