I'm trying to use maven-shade-plugin to relocate a library. Unfortunately, this library also includes some native implementation.
The problem I'm facing is that after relocation to a different package, when trying to call the native methods from that library, I get UnsatisfiedLinkError.
I guess the problem arises because of how native method names are resolved (the java counterpart has a different package after relocation).
Is there any known way around this?