maven\conf\setting.xml 找到<localRepository>/D:\y2app\Repository</localRepository>设置为Repository库的路径
替换<mirror>
内容为阿里云镜像
</mirror>
配置环境变量 MAVEN—HOME 值为Repository库的路径 PATH 值为Repository库的bin的路径
自动下载包到库:File\New Porject Settings\settings for new porjects