10 ms·
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.
by jebblue 13y ago
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.
- danieldk 13y agoThe Maven assembly plugin can also do this with the 'jar-with-dependencies' descriptor.
- gresrun 13y agoI 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.
- agibsonccc 13y agoThe maven shade plugin can be dangerous if you hit the zip file limit of 65535 entries. Watch your filters.