Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create a standalone jar from a maven project?

I am trying to create a standalone jar file I don't think that maven package is properly packaging my dependencies into the package. Is there a way to force it to include them?

like image 624
chustar Avatar asked Aug 09 '11 21:08

chustar


1 Answers

Alternately you could use the jar-with-dependencies packaging of maven assembly plugin.

like image 60
Raghuram Avatar answered Sep 22 '22 00:09

Raghuram