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.

how install jars in maven

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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -