Saturday, 25 February 2012

Create stand alone Jar file for java application

Its a common use case where you hate all those dependency hell in jar files.
So the solution i use is simply use maven assembly plugin

mvn clean install assembly:single


tadaaaa!!!! there is your stand alone jar file with all dependency included in the target directory.

No comments:

Post a Comment