打开setting.xml文件,找到mirrors节点添加阿里镜像库地址:

 <mirrors>
       <mirror>
             <id>alimaven</id>
              <name>aliyun maven</name>
              <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
               <mirrorOf>central</mirrorOf>        
      </mirror>
  </mirrors>

相关文章:

  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
  • 2021-07-05
  • 2021-12-07
猜你喜欢
  • 2021-04-09
  • 2022-01-14
相关资源
相似解决方案