====== Build a complete executable jar file containing all the other jar dependencies (as classes inside it) ====== For this we can use the maven shade plugin, so we'll need to add something like this to our main pom.xml file: org.apache.maven.plugins maven-shade-plugin 3.5.0 package shade com.dovsoft.mft.Main ====== Create an executable jar but without any dependency ====== For this we can use maven jar plugin - add this to main pom.xml file: org.apache.maven.plugins maven-jar-plugin 3.3.0 com.dovsoft.mft.Main