Install the external jar to the local warehouse using maven

mvn install:install-file -Dfile=C:\\Users\\admin\Desktop\\lib\\xxx-api-1.0.0.39.jar -DgroupId=com.other.dsp -DartifactId=dsp -Dversion=1.0.0 -Dpackaging=jar

 

-Dfile: The local storage location of the file

-DgroupId:<groupId>

-DartifactId:<artifactId>

-Dpackaging: packaging method

Guess you like

Origin blog.csdn.net/qq_27828675/article/details/100044780