setting.xml 镜像配置

阅读更多

1、在mirrorOf与repositoryId相同的时候优先是使用mirror的地址

2、mirrorOf等于*的时候覆盖所有repository配置

3、存在多个mirror配置的时候mirrorOf等于*放到最后

4、只配置mirrorOf为central的时候可以不用配置repository

 


	
      nexus-aliyun
      Nexus aliyun
      central
      http://maven.aliyun.com/nexus/content/groups/public
    

	
	      
      remote-repos
	  remote-repos
      http://10.10.12.51/artifactory/remote-repos
      *
    

 

你可能感兴趣的:(setting.xml 镜像配置)