<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>D:/Maven_repository/repository</localRepository>
<mirrors>
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
<mirror>
<id>ibiblio</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>
</mirror>
<!-- <mirror> -->
<!-- <id>mvnrepositoryMID</id> -->
<!-- <mirrorOf>mvnrepositoryRID</mirrorOf> -->
<!-- <name>mvnrepository</name> -->
<!-- <url>http://mvnrepository.com</url> -->
<!-- </mirror> -->
</mirrors>
</settings>
直接把Maven目录下面的conf目录中的settings文件的内容改成上面的就可以了。