How can I include my own file .dllin the root of the JAR using Maven?
.dll
If you already have your DLL file, just save it in the project directory src/main/resourcesand Maven will put it in the root directory of the target jar.
src/main/resources
You can see that these links can help.