修改maven根目录下的conf文件夹中的setting.xml文件,内容如下:

 <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-10-28
  • 2022-02-04
  • 2022-12-23
  • 2022-02-17
  • 2021-08-22
  • 2022-12-23
  • 2021-12-25
  • 2021-08-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-01-01
  • 2022-01-20
  • 2021-12-25
  • 2021-11-12
相关资源
相似解决方案