-
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
Dependency warning spam during build #43608
Comments
/cc @glefloch, @quarkusio/devtools |
I removed Gradle from the title because I had tracked it into the If it's really only Gradle, feel free to add that back to the title. |
Yeah so it might be Gradle-specific as related to how the workspace is resolved in Gradle. I haven't seen this in Maven projects. @kdubb is it new or something you are observing for quite some time? |
It's been spamming my console for a while but that's in our big project and I assumed we brought something in. Then for other reasons I was tracing dependencies and after auditing I realized we weren't overriding them. I turned over to another small test project I had just created and noticed the same thing. |
@aloubyansky I think this one is probably for you to look at. |
@aloubyansky Any idea on this? Any way to silence them? |
I also regularly get these warnings on my build console. I'm using quarkus 3.12.1. |
@gsmet @aloubyansky Guys this is a significant issue that needs some attention. Aside from being annoying for those experienced with Quarkus, this really makes you think your setup is incorrect; which I guess it might be... 🤷♂️ |
I'll have a look. We might be missing platform enforcement somewhere. One known example is 1e1e6e5 |
Describe the bug
When starting a Gradle project generated from http://quarkus.io, using only Quarkus platform extensions, the build warns about dependency overrides (mostly smallrye related).
Example generated for Quarkus
3.15.1
:Expected behavior
Projects using the platform BOM (as this one is) shouldn't have spam for every build.
At the very least there should be a way to disable it. If there already is a method, it should be referenced before or after printing the overrides; I couldn't seem to find anything.
Actual behavior
Spam is printed when using only extensions from the Quarkus Platform BOM, and there is seemingly no way to disable the spam.
How to Reproduce?
Create a project on https://quarkus.io, and include the following extensions:
I have not spent the time to track if it's a specific extension or what. Even if it's an issue with a specific extensions, it seems this should be caught by the platform testing that is done for each release.
Output of
uname -a
orver
macOS 14.6.1
Output of
java -version
21.0.1
Quarkus version or git rev
3.15.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.9 (As Generated by Quarkus.IO)
Additional information
No response
The text was updated successfully, but these errors were encountered: