Maven installs the jar package to the local repository

#mavenInstall the jar package to the local repository
mvn install:install-file -Dfile=D:\scaffold-1.0.2-releases.jar -DgroupId=com.scaffold -DartifactId=scaffold -Dversion=1.0.2-releases (version) -Dpackaging=jar

#mavenExport the jar package that the project depends on

mvn dependency:copy-dependencies -DoutputDirectory=D:/lib

Guess you like

Origin blog.csdn.net/qq_44132240/article/details/113331487