maven install jar package to local library

maven install the jar package to the local library
1. switch to the bin directory of the maven software installation directory
2. execute the following command, -Dfile represents the jar package placement directory, -DgroupId represents the groupId in pom.xml, -DartifactId represents pom.xml Inside artifactId, -Dversion means pom.xml inside version

./mvn install:install-file -Dfile="/home/peixp/documents/qzt2018 missing lib/edtftpj-3.5.jar" -DgroupId=edtftpj -DartifactId=edtftpj - Dversion=1.0 -Dpackaging=jar

Guess you like

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