-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Docs: Autogenerated code in examples doesn't work for 999-SNAPSHOT #37482
Comments
/cc @MichalMaler (documentation), @ebullient (documentation), @inoxx03 (documentation), @michelle-purcell (documentation), @rolfedh (documentation), @sheilamjones (documentation), @sunayna15 (documentation) |
I will adjust it but keep in mind that the In this case, you would either have to also install locally a working platform or use the I will adjust to use the |
Describe the bug
Multiple Quarkus guides[1][2][3] contain code examples for creation of application using maven-plugin. If we use them with version 999-SNAPSHOT, these code examples start with
io.quarkus.platform:quarkus-maven-plugin:999-SNAPSHOT:create
. The problems is,quarkus-maven-plugin
usesio.quarkus.platform
group only for released versions, and usesio.quarkus
for 99-SNAPSHOT. Because of that, the code in examples fails with exceptionCould not find artifact io.quarkus.platform:quarkus-maven-plugin:jar:999-SNAPSHOT
.[1] https://quarkus.io/version/main/guides/security-oidc-code-flow-authentication-tutorial#create-the-maven-project
[2] https://quarkus.io/version/main/guides/telemetry-opentracing-to-otel-tutorial#generate-the-legacy-project
[3] https://quarkus.io/version/main/guides/getting-started-dev-services#bootstrapping-the-project
Expected behavior
Code from tutorials should not fail an, probably, should use
io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:create
commandActual behavior
The code fails
How to Reproduce?
platform
part out:Output of
uname -a
orver
6.5.12-300.fc39.x86_64
Output of
java -version
17.0.8, vendor: Eclipse Adoptium
Quarkus version or git rev
38ac518
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29)
Additional information
No response
The text was updated successfully, but these errors were encountered: