My users have been calling out for easily distributed native binaries with my library. I've got this working by distributing the natives in jars, which are extracted at runtime into a temporary directory.
However, the maven-native-plugin
requires that the native is packaged as a jnilib
(OS X), so
(Linux) or dll
(Windows). I have my own deploy target that packages a jar
file and distributes that under the classifier natives
. It's a bit annoying that this needs a special classifier.
- How can I disable the deploy of the
jnilib/so/dll
? - How can I distribute my
jar
without any special classifier?