maven setting.xml 配置多个仓库 mirror 不行,得用profiles


          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
          


 

   
       aliyun
       
           
               aliyun
               https://maven.aliyun.com/repository/public
               
                   true
               

               
                   true
                   always
               

           

       

   

   
       huaweicloud
       
           
               huaweicloud
               https://mirrors.huaweicloud.com/repository/maven/
               
                   true
               

               
                   true
                   always
               

           

       

   

   
       flink
       
           
               flink
               https://packages.confluent.io/maven/
               
                   true
               

               
                   true
                   always
               

           

       

   

   
       repo1
       
           
               repo1
               https://repo1.maven.org/maven2
               
                   true
               

               
                   true
                   always
               

           

       

   

   
       cloudera
       
           
               cloudera
               https://repository.cloudera.com/artifactory/cloudera-repos
               
                   true
               

               
                   true
                   always
               

           

       

   


 

   aliyun
   huaweicloud
   flink
   repo1

   cloudera 
 

你可能感兴趣的:(java,servlet,spring)