mvn install:install-file -Dfile=[your file] -DgroupId=[xxxx] -DartifactId=[xxxx] -Dversion=[xxxx] -Dpackaging=[pom|jar|other]
打包jar
mvn install:install-file -Dfile=C:\Users\Administrator\Desktop\netty-
3.5.12.Final.jar -DgroupId=org
.maven2
.io.netty.netty -DartifactId=netty -Dversion=
3.5.12.Final -Dpackaging=jar
打包pom
mvn install:install
-file -Dfile=C:
\Users
\Administrator
\Desktop
\smartlog
-2.0.2-SNAPSHOT.pom
-DgroupId=com
.ultrapower
.zq
-DartifactId=smartlog
-Dversion=2.0.2-SNAPSHOT -Dpackaging=pom
转载请注明原文地址: https://ju.6miu.com/read-664060.html