How I can include native .dll file in root of JAR using Maven?
Asked
Active
Viewed 7,940 times
2 Answers
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,263
- 2
- 45
- 53
2
You can see these links may it helps..
Community
- 1
- 1
Sumit Singh
- 24,095
- 8
- 74
- 100
-
thanks, but I need Maven solution. For example some plugin, that will put file into root of JAR – WelcomeTo Aug 28 '12 at 11:02
-
see this http://stackoverflow.com/questions/12036607/bundle-native-dependencies-in-runnable-jar-with-maven – Sumit Singh Aug 28 '12 at 11:04