Hi! I would like to be able to build a self-sufficient application package from a project into a zip/tar, ie with all dependencies and a prepared scrip to execute it.
I have so far tried two approches: A, Using maven-assembly-plugin and creating my own assembly file This has two problems: 1, I have set the dependency scope to runtime, but it still includes "the whole world"! I mean, it even includes a lot of maven jar:s! (which are obviously not necessary to run the app) 2, It becomes very inconvenient to write the script and manually updating the jar:s that should be in the classpath... :-( B, Using the Mojo appassembler-maven-plugin, but this is very buggy... it even gives me nullpointer exceptions! :-( Anyone have tips about the best we to achive this? //Kent