I faced a nagging problem of not able to create a runnable jar using Maven assembly plugin. I had a couple of dependencies which were required at runtime. I used the jar-with-dependecies assembly to achieve this. But my Main-Class attribute from the MANIFEST.MF was lost every time.
The solution to this problem is archive configuration under assembly plugin as described here
Showing posts with label fat jar. Show all posts
Showing posts with label fat jar. Show all posts
Runnable jar using maven assembly plugin
on
Thursday, December 03, 2009
Labels:
fat jar
,
maven
,
one jar
2
comments
