nexus配置另一个nexus中的仓库地址

settings.xml配置文件如下:


    
     
       
      nexus-releases   
      maven-releases   
      http://192.168.42.29:8081/repository/maven-releases/   
      
       
      nexus-snapshots   
      maven-snapshots   
      http://192.168.42.29:8081/repository/maven-snapshots/   
      
      
       
      ctllin   
      ctllin   
      http://192.168.2.216:8081/repository/maven-public   
     
     
			nexus-public
			*
			http://192.168.42.29:8081/repository/maven-public/
		
		 
			repo2
			central
			Human Readable Name for this Mirror.
			http://repo2.maven.org/maven2/
		
  

pom.xml配置文件如下

        
            ctllin
            com frm ctllin-public-repo(anthor nexus address)
            http://192.168.42.29:8081/repository/ctllin
            
                true
            
            
                true
            
        
    

nexus配置另一个nexus中的仓库地址_第1张图片

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