Tags

,

links:
https://community.jboss.org/thread/157776
http://maven.apache.org/plugins/maven-shade-plugin/examples/executable-jar.html

summary:
– uber jar is jar wrapping other jar(s)
– maven calls it shaded jar

build:
– in eclipse is easy to make a runnable but not scalable
– eclipse -> export -> java or jar -> runnable jar -> blah
– the maven link example would jar up all classes (eclipse has options to select jarring up classes or jars into the runnable jar, +1 for eclipse)
– maven shade plugin can set the minimizeJar option,
plugins->plugin->executions->execution->configuration->minimizeJar to true.

Advertisements