mvn install:install-file -DgroupId=com.xxx -DartifactId=xxx -Dversion=1.1.1 -Dpackaging=pom -Dfile=xxx-1.1.1.pom
packaging is pom.
mvn install:install-file -DgroupId=x.xx -DartifactId=xxx -Dversion=1.0 -Dpackaging=jar -Dfile=xx-1.0.jar -Dclassifier=tests
classifier=tests
lassifier can be any string, for determining the splicing GAV specified in the file later.
It can be used to distinguish different packets jar jdk versions generated