Skip to content

Instantly share code, notes, and snippets.

View HashRaygoza's full-sized avatar

David Raygoza Gómez HashRaygoza

View GitHub Profile
@HashRaygoza
HashRaygoza / maven_package_exec_fat_jar.txt
Last active September 12, 2016 22:13 — forked from ppatierno/maven_package_exec_fat_jar.txt
Packaging an executable fat JAR with Apache Maven
Three ways to create an executable and fat JAR with Maven :
maven-jar-plugin (it doesn't add dependencies inside the final JAR, they have to be in the classpath)
Don't forget it goes between the build and plugins tags.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>