maven2向本地库安装source文件

mvn install:install-file -DgroupId=org.apache.velocity -DartifactId=velocity -Dversion=1.6.2 -Dpackaging=jar -Dfile=velocity-1.6.2-sources.jar -DgeneratePom=true  -Dclassifier=sources
记下了

原文地址:https://www.cnblogs.com/xiziyin/p/1608244.html