1. Local jar package to local warehouse
MVN install:install-file -dfile=jar package full address or relative address -dgroupid= custom GroupID -dartifactid= Custom Artifactid -dversion= custom version number -dpackaging=jar
If the upload times are wrong to find the Pom file, which is caused by different operating systems, You can enclose the above command arguments in quotation marks, as follows
mvn install:install-file" -dfile=jar package full address or relative address "" -dgroupid= custom GroupID "" -dartifactid= Custom Artifactid "" -dversion= custom version number "" -dpackaging=jar "
2, local jar uploaded to the"
1), can log in to the jar
2), you can also use the command to upload
mvn deploy:deploy-file -dfile=jar package -dgroupid=groupid -dartifactid=artifacid -dversion= version number - Dpackaging=jar -durl=http://ip:port/nexus/content/repositories/thirdparty/ -drepositoryid=thirdparty
Package The local jar package to the local warehouse and upload to the database