Managing DLL dependencies with Maven

前端 未结 2 1136
囚心锁ツ
囚心锁ツ 2020-11-27 04:47

I have a Java program with Maven managing its dependencies. One of those dependency is a JNI wrapper for another program. Maven takes care of the reference to the relevant J

2条回答
  •  孤城傲影
    2020-11-27 05:35

    I found another solution, which is described in the answer to this question: Using maven with DLL from third party and managing the name of the DLL

    Basically, if you put the DLL into a ZIP file, and manage it as a separate dependency, and use the nativedependencies-maven-plugin, then the DLL will get unpacked with the right name.

提交回复
热议问题