利用eclipse把jar包安装到本地仓库

选中pom.xml文件,run as -》maven build

在goals中输入:install:install-file -Dfile=D:\11jar\aspectjrt-1.7.4.jar -DgroupId=org.aspectj -DartifactId=aspectjrt -Dversion=1.7.4 -Dpackaging=jar,然后点击run即可

Dfile:下载好jar的路径

DgroupId:groupid

DartifactId:artifactId

Dversion:version

猜你喜欢

转载自www.cnblogs.com/toughzcf/p/9635456.html
今日推荐