News for hackers. Stuff that matters.
Re:Why Java Now Rocks More Than Ever: Part 1 – The Java Comp... by jebblue on Monday October 07, 2013 @10:02AM (#6508255)
Agreed, this is how I do my Java standalones. Eclipse makes this easy with Export | Runnable Jar providing several options for how to package the build.
Re:Why Java Now Rocks More Than Ever: Part 1 – The Java Comp... by danieldk on Monday October 07, 2013 @10:08AM (#6508300)
The Maven assembly plugin can also do this with the 'jar-with-dependencies' descriptor.
Re:Why Java Now Rocks More Than Ever: Part 1 – The Java Comp... by gresrun on Monday October 07, 2013 @11:09AM (#6508705)
I personally use the maven-shade-plugin for this because it has built-in support for handling special resource files like licenses, service definitions, and manifest entries.
Re:Why Java Now Rocks More Than Ever: Part 1 – The Java Comp... by agibsonccc on Monday October 07, 2013 @11:27AM (#6508828)
The maven shade plugin can be dangerous if you hit the zip file limit of 65535 entries. Watch your filters.