Conf maven modify the file in the root folder setting.xml file (or file in the current setting.xml .m2 directory user directory)
as follows:
<mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors>