Using Maven2 to Build a Single Stand-Alone Jar File
Friday, August 18th, 2006Move along, nothing fun to see here, just some help for random Googlers about a grungy maven problem I was having last night.
I’m working on a project that uses Maven2 and I needed a way to package my code plus all dependencies into a single jar file. This would let me distribute it as a self-contained, executable jar rather than something that needs to be installed. It took me a surprisingly long time to stumble onto the answer, so hopefully this will shorten the search for some other people.