Maven 安装 JAR 包的命令是:
mvn install:install-file -Dfile=jar包的位置 -DgroupId=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging=jar
若是本地有多个仓库,则可通过 -Dmaven.repo.local=D:mvnlocalRepo来指定

Maven 安装 JAR 包的命令是:
mvn install:install-file -Dfile=jar包的位置 -DgroupId=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging=jar
若是本地有多个仓库,则可通过 -Dmaven.repo.local=D:mvnlocalRepo来指定