java - How to install jars in maven repository which is eclipse embedded? -
my objective install jar file in maven repository. below link came know how install in mvn.
but problem "i have maven embedded in eclipse. dont know run 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
how identify maven installation directory eclipse embedded maven ?
from eclipse can do:
run -> run configurations -> maven build (double click)
your goal install:install-file
and should fill parameters' keys , values
p. s. think more better have external maven installation in system
Comments
Post a Comment