-
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
Extensions created with 999-SNAPSHOT cli depend on non-existing plugin #42649
Milestone
Comments
quarkus-bot
bot
added
the
area/cli
Related to quarkus cli (not maven/gradle/etc.)
label
Aug 20, 2024
/cc @ebullient (cli), @maxandersen (cli) |
fedinskiy
changed the title
Extensions created with 999-SNAPSHOT cli depend on non-existing module
Extensions created with 999-SNAPSHOT cli depend on non-existing plugin
Aug 20, 2024
This is due to this patch: #42469 . Apparently, we still need to condition things on the version... I thought this had been changed. |
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
Aug 20, 2024
When creating projects or extensions, the codestarts from the tooling version are always used even for older versions so we need to be careful about it. Fixes quarkusio#42649
#42653 should address it. Thanks again for the very detailed report! |
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
Aug 20, 2024
When creating projects or extensions, the codestarts from the tooling version are always used even for older versions so we need to be careful about it. Fixes quarkusio#42649 (cherry picked from commit d6123f2)
danielsoro
pushed a commit
to danielsoro/quarkus
that referenced
this issue
Sep 20, 2024
When creating projects or extensions, the codestarts from the tooling version are always used even for older versions so we need to be careful about it. Fixes quarkusio#42649
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I use Quarkus CLI to generate quarkus extension. When I use cli from 999-SNAPSHOT, the pom file contains dependency io/quarkus/quarkus-config-doc-maven-plugin of version 3.12.3, which doesn't exist.
Expected behavior
Generated apps and extensions should not contain non-existing dependencies
Actual behavior
How to Reproduce?
mvn clean install -Dinsecure.repositories=WARN
If
quarkus
cli of version 3.13.2 (eg from sdkman) is used in p.2, the build worksOutput of
uname -a
orver
6.10.4-200.fc40.x86_64
Output of
java -version
Java version: 21.0.1, vendor: Eclipse Adoptium
Quarkus version or git rev
b7d6639
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Additional information
This is a difference between generated poms (
edge
is 999-SNAPSHOT,stable
is 3.12.3):The text was updated successfully, but these errors were encountered: