maven打包到本地仓库里面

mvn install:install-file -Dfile=D:/你的包名  -DgroupId=com.sdk4j -DartifactId=sdk4j -Dversion=1.0 -Dpackaging=jar

原文地址:https://www.cnblogs.com/qq3111901846/p/8034022.html