My objective is to install a jar file in a Maven repository. This post explains how to do an install with MVN.
But but since I have Maven embedded in Eclipse, I don\
If you have M2Eclipse installed, and you have a Maven pom building the jar, use
Run -> Run As... -> Maven Install
from the Eclipse menu to do the equivalient of mvn install
mvn install