Maven. Put .DLL in the root of JAR

后端 未结 2 1048
梦毁少年i
梦毁少年i 2021-02-20 15:20

How I can include native .dll file in root of JAR using Maven?

2条回答
  •  日久生厌
    2021-02-20 16:03

    If you already have your .dll file just store it in your project's src/main/resources directory and Maven will put it in the target jar's root directory.

提交回复
热议问题