java - How can I set the native library for a dependency using maven? -


i using microsoft tfs sdk jar requires native library. can set native library using : system.setproperty("com.microsoft.tfs.jni.native.base-directory","c:\path\");

i using maven project , tfs sdk jar maven dependeny how can set native library dependency using maven ?

you need use "native lib loader" helper.

the source 1 here: https://github.com/scijava/native-lib-loader

best via maven/gradle or similar: http://mvnrepository.com/artifact/org.scijava/native-lib-loader/

where need add natives project , required naming convention ca found in "org.scijava.nativelib.nativelibraryutil"


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -