Maven Mirror镜像配置

Maven Mirror镜像

在setting.xml 配置镜像如下:


	 
	 <mirror>
		<id>nexus-aliyunid>
		<name>Nexus aliyunname>
	    <url>http://maven.aliyun.com/nexus/content/groups/public/url> 
		<mirrorOf>centralmirrorOf> 
	 mirror>
	 
	 <mirror> 
		<id>repo2id> 
		<name>Mirror from Maven Repo2name> 
		<url>http://repo2.maven.org/maven2/url> 
		<mirrorOf>centralmirrorOf> 
	mirror> 
	
	 <mirror> 
		<id>uiid> 
		<name>Mirror from UKname> 
		<url>http://uk.maven.org/maven2/url> 
		<mirrorOf>centralmirrorOf> 
	mirror> 
	
	 <mirror> 
		<id>jboss-public-repository-groupid> 
		<mirrorOf>centralmirrorOf> 
		<name>JBoss Public Repository Groupname> 
		<url>http://repository.jboss.org/nexus/content/groups/publicurl> 
	mirror>

你可能感兴趣的:(Maven,maven)