-
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 #19089
Conversation
extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/SplitPackageProcessor.java
Outdated
Show resolved
Hide resolved
Can this PR also add a build item that extensions can use to suppress warnings that come from runtime dependencies that users should not care about? I could use it in #19092 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested successfully with the small reproducer from here: #19030 (comment) 👍
extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/ArcConfig.java
Outdated
Show resolved
Hide resolved
@geoand will add, on it shortly |
Thanks! |
b3362f3
to
12d69bd
Compare
@geoand @gsmet @famod @mkouba this PR now provides build item to allow for exclusions by extensions. It also allows usage of |
I think we should get this in as it's a very good improvement. We can always tweak it further if necessary |
...ions/arc/deployment/src/main/java/io/quarkus/arc/deployment/IgnoreSplitPackageBuildItem.java
Outdated
Show resolved
Hide resolved
08b9aa9
to
5ff4745
Compare
Not at all, that a lot @manovotn ! I'll actually just a create a PR based on this one. That way (assuming it's rebased), I don't have to wait for CI to complete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in the other PR, it's an easy fix and the current behavior is incorrect.
extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/SplitPackageProcessor.java
Outdated
Show resolved
Hide resolved
…xtension to skip validation
@gsmet updated, please re-review |
Allow to skip split package detection for user-defined packages.
Fixes #19031
I am OFC open to suggestions regarding config item name or placement in another config (although it IMO does belong under Arc at the moment).
Also, I don't think we can have an automated test for this, so I at least tested it with one of the reproducer apps that was provided in the original issue that spawned creation of this unfortunate processor :-)