maven将Jar安装进仓库

mvn install:install-file -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.4 -Dpackaging=jar -Dfile=ueditor-1.1.2.jar

-Dfile 为文件所在位置

原文地址:https://www.cnblogs.com/chenweida/p/11430168.html