Maven配置国内镜像地址能快速下载jar包,添加的方式有两种。 全局配置 settings.xml中添加国内仓库地址(对所有的项目都有效) <mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf>