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

Extend native image agent filtering to packages configured by extensions #40360

Open
galderz opened this issue Apr 30, 2024 · 1 comment
Open

Comments

@galderz
Copy link
Member

galderz commented Apr 30, 2024

Description

Thanks to #36822 JVM mode integration tests can now optionally run with the native image agent, providing a starting point for native image configuration for 3rd party libraries not yet supported via a Quarkus extension. Quarkus instructs the native image agent to filter configuration for packages that Quarkus takes care of, but this filtering does not include additional extensions.

In this enhancement, we should find a way for extensions that are registered with Quarkus to provide a set of packages that should be filtered out when being used with the native image agent. For example, if using the cache extension, we should set up a filter in the native image agent to skip configuration related to the com.github.benmanes.caffeine.cache package.

Implementation ideas

Unless there's metadata already available to signal this, an additional build item could provide such information.

@quarkus-bot
Copy link

quarkus-bot bot commented Apr 30, 2024

/cc @radcortez (config), @zakkak (native-image)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant