settings.xml
<?xml version="1.0" encoding="UTF-8"?> <settings> <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <mirrorOf>central</mirrorOf> <url>https://maven.aliyun.com/repository/central</url> </mirror> </mirrors> </settings>
一定要有settings
标签
阿里云 Maven地址:https://maven.aliyun.com/mvn/guide
</div>