-
Notifications
You must be signed in to change notification settings - Fork 196
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
Compilation fails for gRPC applications in dev mode #5167
Comments
@ppalaga Is there any way of ignoring the dependency ban for Findbugs exclusively in the |
Yeah, I also recollect gRPC was a special about findbugs. We could try to redefine the rules in this module, something like
where |
It's actually "allow findbugs" rather than "exclude findbugs" |
Bug description
I finally realize why Quarkus does not exclude Findbugs in
grpc-common
. Seems gRPC has a number of occurrences ofjavax.annotation.CheckReturnValue
:https://github.com/search?q=repo%3Agrpc%2Fgrpc-java+CheckReturnValue&type=code&p=1
Which results in the following compilation error because we are excluding findbugs here:
https://github.com/apache/camel-quarkus/blob/main/extensions/grpc/runtime/pom.xml#L41-L45
Seems to not occur outside of dev mode though.
The simplest fix would be to remove the Findbugs exclusion.
The text was updated successfully, but these errors were encountered: