Closed diegoceccarelli closed 3 years ago
At the moment we use the goal assebly:assembly to produce a jar with all the dependency.
assebly:assembly
maven-shade-plugin is better than assembly http://2mohitarora.blogspot.com/2011/12/maven-shade-plugin-better-than-maven.html and it will produce that jar when running the normal maven target package.
maven-shade-plugin
assembly
package
Also set it up so that the main can be run from the jar. Example here: http://maven.apache.org/plugins/maven-shade-plugin/examples/executable-jar.html
@diegoceccarelli can u assign this to me?
@sparrowV done, thanks!
At the moment we use the goal
assebly:assembly
to produce a jar with all the dependency.maven-shade-plugin
is better thanassembly
http://2mohitarora.blogspot.com/2011/12/maven-shade-plugin-better-than-maven.html and it will produce that jar when running the normal maven targetpackage
.Also set it up so that the main can be run from the jar. Example here: http://maven.apache.org/plugins/maven-shade-plugin/examples/executable-jar.html