Install third-party jar package to a local warehouse

1, the local has been installed maven
2, maven configured environment variables (in command line mode input any directory: mvn -v appear maven version number that is considered successful configuration)
3, into the jar package directory run mvn install: install-file - groupId -DartifactId DgroupId = jar packet = artifactId jar package
-Dversion = -Dfile jar package version name = jar = jar packet -Dpackaging
. 4, use can be referenced in the pom

More knowledge See: https: //github.com/Lzycug/CommonToolsRepository.git

Released eight original articles · won praise 6 · views 358

Guess you like

Origin blog.csdn.net/lzycug/article/details/103843081