例子如下
mvn install:install-file -Dfile=D:\tomcat-embed-jasper-9.0.27.jar -DgroupId=org.apache.tomcat.embed -DartifactId=tomcat-embed-jasper -Dversion=9.0.27 -Dpackaging=jar
解析
-Dfile:jar文件的系统路径
-DgroupId:groupId
-DartifactId:artifactId
-Dversion:版本号
-Dpackaging:打包方式