10

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

WelcomeTo
  • 19,843
  • 53
  • 170
  • 286

1 Answers1

11

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.

Nicola Musatti
  • 17,834
  • 2
  • 46
  • 55