-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Extension excluded resources in quarkus-extension.properties #25802
Extension excluded resources in quarkus-extension.properties #25802
Conversation
498053a
to
2bb3362
Compare
2bb3362
to
f8eeaa1
Compare
<deployment>\${project.groupId}:\${project.artifactId}-deployment:\${project.version}</deployment> | ||
<removedResources> | ||
<org.acme:acme-resources>META-INF/a</org.acme:acme-resources> | ||
</removedResources> |
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.
^ is how it can be configured in an extension.
Thanks @aloubyansky. This PR provides means to fix the LRA issue with resteasy-reactive client. |
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.
👍🏼
@glefloch we'd need an equivalent config option in the Gradle extension plugin. Would you like to add it? |
Sure, I can work on it. |
Thanks @glefloch |
Fix #25655
Adds a possibility to configure removed resources [1] in the extension's
META-INF/quarkus-extension.properties
.NOTE: another change is that it will also create
RemovedResourceBuildItem
for each configured removed resource, so it is also removed from the packaged app. Otherwise, the resources are only removed from the classloader for the build and dev mode but will still be loadable in prod mode.FYI @stuartwdouglas
[1] https://quarkus.io/guides/class-loading-reference#quarkus-class-loading-configuration-class-loading-config_quarkus.class-loading.removed-resources-removed-resources