I'm trying spring native with a small boot project which depends on opensaml, there are two config files inside the opensaml jar,
and the lib loads the config file by
Thread.currentThread().getContextClassLoader().getResourceAsStream(resource)
the native image failed to start due to missing the resource, then I searched some posts and added
<buildArgs>
<arg>-H:IncludeResources=".*"</arg>
</buildArgs>
in native-maven-plugin's configuration, but still failed to load the resource.
any advice? thanks a lot.