I have a java application and using maven-assembly-plugin I want to add my dependencies to a /lib folder in my release.
In a web project its simple because jars are already in the war file. I coudln't figure out to do it in standart java application since all external jars are in my local .m2 repository.
I often work with this assembly configuration
And then I reference it in my POM with
If you also need a runnable JAR: