goxcheer

maven仓库的默认镜像为国外镜像,下载jar包依赖非常慢,可以将镜像设置为国内的阿里云。

只需要在maven的conf的setting中配置如下:

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

这样下载jar包的速度可以体验一下,飞快

分类:

技术点:

相关文章:

  • 2022-02-07
  • 2022-01-16
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-02-07
  • 2021-08-06
相关资源
相似解决方案