Maven国内镜像配置

settings.xml



<settings>
	<mirrors>
		<mirror>
		    <id>alimavenid>
		    <name>aliyun mavenname>
		    <mirrorOf>centralmirrorOf>
		    <url>https://maven.aliyun.com/repository/centralurl>
		mirror>
	mirrors>
settings>

一定要有settings 标签

你可能感兴趣的:(Maven国内镜像配置)