Import the local jar package

mvn install:install-file -Dfile=/Users/niexianxue/Documents/home/work/lts/target/lts/WEB-INF/lib/my-fastclient-1.0.0.jar -DgroupId=com.farbun -DartifactId=my-fastclient -Dversion=1.0.0 -Dpackaging=jar

 

Import the dos command of the jar package, groupid, artifactId, version correspond to the dependency <dependency> in the pom.xml file

mvn install:install-file

-Dfile=/Users/niexianxue/Documents/home/work/lts/target/lts/WEB-INF/lib/my-fastclient-1.0.0.jar //jar包的地址

-DgroupId=com.farbun      //groupid

-DartifactId=my-fastclient    //artifactId

-Dversion=1.0.0                 //version

-Dpackaging=jar

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325566668&siteId=291194637