原理:maven加载jar包过程,默认的是先扫描本地仓库,若本地仓库没有,则扫描远程仓库下载.默认的conf/settings.xml文件没有配置远程仓库,所以扫描的是maven的中央仓库(在国外),所以慢. 解决方法:配置国内镜像(如阿里云的镜像) 修改conf/settings.xml文件,配置阿里云镜像代码 <mirrors> <!-- mirror | Specifies a repository mirror site to use instead of a given rep
gradle install--- http://www.itnose.net/detail/6500082.html http://stackoverflow.com/questions/5102571/how-to-install-maven-artifact-with-sources-from-command-line ---------- Please use mvn source:jar install to install the Maven artifacts. It is qui