Maven安装配置

官网:http://maven.apache.org/download.cgi

#设置maven变量
M2_HOME
D:\software\apache-maven-3.5.2

path变量
%M2_HOME%\bin

#测试
mvn -v

Maven镜像源

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

       
        uk  
        central  
        Human Readable Name for this Mirror.  
        http://uk.maven.org/maven2/ 
      

       
        CN
        OSChina Central
        http://maven.oschina.net/content/groups/public/
        central
      

      
        nexus
        internal nexus repository
        
        http://repo.maven.apache.org/maven2
        central
      
    
        alimaven
        aliyun maven
        http://maven.aliyun.com/nexus/content/groups/public/
        central
    
    
        alimaven
        central
        aliyun maven
        http://maven.aliyun.com/nexus/content/repositories/central/
    
     
    
        ibiblio
        central
        Human Readable Name for this Mirror.
        http://mirrors.ibiblio.org/pub/mirrors/maven2/
    
    
        jboss-public-repository-group
        central
        JBoss Public Repository Group
        http://repository.jboss.org/nexus/content/groups/public
    
     
    
        central
        Maven Repository Switchboard
        http://repo1.maven.org/maven2/
        central
    
    
        repo2
        central
        Human Readable Name for this Mirror.
        http://repo2.maven.org/maven2/
    

你可能感兴趣的:(Maven安装配置)