Skip to content
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

Stop index warn by excluding resource removed by extension from indexing #28214

Conversation

michalvavrik
Copy link
Contributor

@michalvavrik michalvavrik commented Sep 26, 2022

fixes: #27907

Excludes resources removed by extension from indexing as according to io.quarkus.maven.ExtensionDescriptorMojo#removedResources should be equivalent of quarkus.class-loading.removed-resources, however later classes are excluded from indexing while former are not. Fix is used to exclude org.keycloak.admin.client.JacksonProvider that extends org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider from indexing. The file is never used as we set io.quarkus.keycloak.admin.client.reactive.runtime.ResteasyReactiveKeycloakAdminClientRecorder#setClientProvider and it produces incorrect warning (see linked issue).

@michalvavrik
Copy link
Contributor Author

cc @geoand I can divide this to 2 PRs if you think it's appropriate. I added this as one PR as changes are tiny.

@quarkus-bot

This comment has been minimized.

@geoand
Copy link
Contributor

geoand commented Sep 27, 2022

Hi,

Thanks for this!
We definitely want this to be two different commits (it can remain a single PR though).

Furthermore, I'd like @aloubyansky to verify this

@aloubyansky
Copy link
Member

Looks good, thanks!

@michalvavrik michalvavrik force-pushed the feature/exclude-removed-resources-from-indexing branch from 18b106f to 6fd688c Compare September 27, 2022 08:33
Excluded resources removed by extension from indexing as according to io.quarkus.maven.ExtensionDescriptorMojo#removedResources should be equivalent of quarkus.class-loading.removed-resources, however later classes are excluded from indexing while former are not.
@michalvavrik michalvavrik force-pushed the feature/exclude-removed-resources-from-indexing branch from 6fd688c to 34b21a7 Compare September 27, 2022 08:34
@michalvavrik
Copy link
Contributor Author

PR is split into 2 commits. Thank you for reviews.

@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 27, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Sep 27, 2022

✖ This workflow run has failed but no jobs reported an error. Something weird happened, please check the workflow run page carefully: it might be an issue with the workflow configuration itself.

@geoand geoand merged commit adff7c4 into quarkusio:main Sep 27, 2022
@quarkus-bot quarkus-bot bot added this to the 2.14 - main milestone Sep 27, 2022
@quarkus-bot quarkus-bot bot added kind/bugfix and removed triage/waiting-for-ci Ready to merge when CI successfully finishes labels Sep 27, 2022
@michalvavrik michalvavrik deleted the feature/exclude-removed-resources-from-indexing branch September 27, 2022 13:33
@gsmet gsmet modified the milestones: 2.14 - main, 2.13.1.Final Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to index ResteasyJackson2Provider using the keycloak-admin-client-reactive extension
4 participants