-
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
Make SplitPackageProcessor configurable #19031
Comments
We could easily implement this but I'm not quite it's worth the effort, i.e. to introduce a config property just to suppress some warnings. In theory, you should be able to set the log level to |
Sure, I can suppress all warnings but this way I might miss warnings that are actually more relevant for me/my project. |
Well, spoke too soon: I failed at silencing it via logging config. Even tried adding:
to surefire to get rid of the warnings in #19030 but nope... |
No, I mean warnings from the logger of name
For tests you need to follow the steps described here: https://quarkus.io/guides/logging#how-to-configure-logging-for-quarkustest |
Sorry for being imprecise: I meant I would not see any warnings from that processor, even the ones that might be more relevant for me.
Thanks for the pointer but |
So basically a configurable whitelist for the processor. It is definitely implementable, the property could pass in a list of Strings which represent different packages you want the processor to skip. I'll look into it. |
@manovotn if there was an option to switch it off it would be ok for me. I would then enable it on demand. |
Something tells me that @manovotn got more than he bargained for when he decided to help out on the split package issue 😆 |
@geoand It all started with good intention to let users know about split packages which may break Arc functionality. |
@manovotn Can someone explain why split packages are a problem for Quarkus? We have some shared code in separate jars that use the same package names. That is perfectly fine for Java what issues does this cause for Arc/Quarkus? |
That's not true, JDK 11 with JPMS would complain :) Anyway, IIRC, the issue was with proxying of beans if there types were split in packages. That could end up being an illegal access error. Some of the linked issues had a reproducer that showed that case. |
Description
With 2.1.0 we are getting:
because we a generating stubs from WSDL in two different Maven modules (via
cxf-codegen-plugin
).I do get the point of avoiding split packages, but in this case I don't think our valuable project time is well invested in trying to separate (or unify) those generated packages. They are not subject to any injection anyway.
Therefore it would come in handy, if that processor could be configured in some way, e.g. add exclusions etc.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: