I have an maven eclipse project which I want to export as an executable jar file from command line. I have external library jars also in the project. How can I get the executable jar file inclusive of all library jars from command line?
EDIT::
Now there is a challenge.There are actually two projects.One is PROJECT
and other is Project_Framework
. Both these folders are having pom.xml
.The dependencies are written in pom.xml
in PROJECT
folder. PROJECT
is dependen t on Project_Framework
. After adding maven-shade
plugin it is saying it cannot find the snapshot dependency of Project_Framework
. How can I solve this?