右键pom.xml文件
<!-- 配置中央仓库 -->
<mirrors>
<!-- 阿里云中央仓库镜像 -->
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>