Maven. Put .DLL in the root of JAR

jar, java, maven

Solution

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.

Problem

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

Original source

Related problems