• [Java] Maven 镜像仓库


    配置

    修改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>

    谷歌 Google

        <mirror>
          <id>google-maven-central</id>
          <name>Google Maven Central</name>
          <url>https://maven-central.storage.googleapis.com</url>
          <mirrorOf>central</mirrorOf>
        </mirror>

    Net.cn 

    <mirror>
        <id>net-cn</id>
        <mirrorOf>central</mirrorOf>
        <name>Human Readable Name for this Mirror.</name>
        <url>http://maven.net.cn/content/groups/public/</url>   
     </mirror>

    uk.maven.org

    <mirror>
      <id>ui</id>
      <mirrorOf>central</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
     <url>http://uk.maven.org/maven2/</url>
    </mirror>
  • 相关阅读:
    20220215
    20220209
    20220211
    20220208
    todolist3
    OAuth2
    happedbefore
    字符串处理1
    命令模式1
    SpringSecurity与Jwt验证
  • 原文地址:https://www.cnblogs.com/zhunian/p/6602083.html
Copyright © 2020-2023  润新知