使用阿里云Maven仓库

修改maven目录下conf/settings.xml文件。以下是我是用的配置:







  
  D:\.m2\repository

  

  

  
  
    
    org.mortbay.jetty
  

  
  
    
  

  
  
    
    
    
    
        releases
        ali
        ali
      
      
        Snapshots
        ali
        ali
      
  

  
  
    
    
      
      nexus
      * 
      http://maven.aliyun.com/nexus/content/groups/public/
    
    
      
      nexus-public-snapshots
      public-snapshots 
      http://maven.aliyun.com/nexus/content/repositories/snapshots/
    
  
  
  
   
    
      development
      
        
          central
          http://central
          truealways
          truealways
        
      
     
        
          central
          http://central
          truealways
          truealways
        
      
    
    
      
      public-snapshots
      
        
          public-snapshots
          http://public-snapshots
          false
          truealways
        
      
     
        
          public-snapshots
          http://public-snapshots
          false
          truealways
        
      
    
  
 
   
    development
    public-snapshots
   

你可能感兴趣的:(使用阿里云Maven仓库)