Maven 将网上不能下载的jar打入到自己的本地maven库中

下面的语句用于将网上不能下载的jar打入到自己的本地maven库中

 1、cmd

 2、 进入maven解压目录的bin下

 3、执行 mvn install:install-file -Dfile=c:\org.eclipse.emf.edit_2.10.0.v20140519-0339.jar -DgroupId=org.eclipse.emf -DartifactId=org.eclipse.emf.edit -Dversion=2.10.0.v20140519-0339 -Dpackaging=jar

 

 

用的时候,直接复制,改下路径和版本号就可以了,Pass the test

posted @ 2014-09-25 18:22  vaer  阅读(249)  评论(0编辑  收藏  举报