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't know where to run the following command:
mvn install:install-file -Dfile=C:\lib\rest\WadlGenerator.jar \
-DgroupId=foo.in.shop.rest.wadl \
-DartifactId=WadlGenerator \
-Dversion=1.0 \
-Dpackaging=jar \
-DlocalRepositoryPath=C:\maven\repositories\internal
In short: How can I identify the Maven installation directory for Eclipse-embedded Maven?