Managing native libraries with Maven
问题 Is it possible to manage native libraries (.so) under maven? We use some jars with dependences on external native libs, so I'm looking for some way to mavenize them. Thanks. 回答1: I think that the "common" approach is to bundle the native libraries in platform specific JARs using classifiers (e.g. mylib-1.2.3-solaris.jar ) on which you could depend like any other JAR with classifier: <dependency> <groupId>my.group</groupId> <artifactId>mylib</artifactId> <version>1.2.3</version> <classifier