How to create Jar file from Maven project in eclipse

Questioner picture Questioner · Jul 31, 2015 · Viewed 48.9k times · Source

I have a Maven project, but I am not familiar to Maven. Just I wanted to create an executable JAR file from this Maven project to use it in another project by eclipse. I appreciate any help.

Answer

kswaughs picture kswaughs · Jul 31, 2015

To build jar From Eclipse, Right click on your maven project name then

Run as > Maven install