SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the maven-shade-plugin.
After configuring the shade plugin in your build the command mvn package will create one single jar with all dependencies merged into it.
mvn package