-
Notifications
You must be signed in to change notification settings - Fork 564
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
4.x: Add additional postgresql + hibernate native-image configuration #9393
Conversation
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.
I would like to start using strict rules for mirroring the reflection config from graalvm-reachability-metadata
for certain components:
- We only use
META-INF/native-image/groupId/artifactId/reflect-config.json
- We DO NOT use
META-INF/helidon/native-image/reflection-config.json
We will maintain an exact copy of the reflection config from graalvm-reachability-metadata
under META-INF/native-image/groupId/artifactId/reflect-config.json
.
If the versions supported in graalvm-reachability-metadata
and in Helidon are different, we may add additional reflection config.
Ideally we should find a way to use a different file to make it easy to mirror. E.g. use native-image.properties
to specify an additional file.
2c5a8cd
to
03965a3
Compare
Description
This PR add reflection configuration from
reachability metadata (RM)
repository to our own configuration.Now, we maintain an exact copy of R.M. configuration file named
reflect-config.json
. When a dependency is updated, the corresponding configuration from R.M. will replace the current one. If the R.M. configuration does not exist, the currentreflect-config.json
remain unchanged and we use a file namedreflect-config-additional.json
. This file contains additional configuration required.Fixes #9136
Documentation
none