zoukankan      html  css  js  c++  java
  • maven更换源

    1)在 /etc/maven/settings.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>

        <mirror>
          <id>uk</id>
          <mirrorOf>central</mirrorOf>
          <name>Human Readable Name for this Mirror.</name>
          <url>http://uk.maven.org/maven2/</url>
        </mirror>

        <mirror>
          <id>nexus</id>
          <name>internal nexus repository</name>
          <!-- <url>http://192.168.1.100:8081/nexus/content/groups/public/</url>-->
          <url>http://repo.maven.apache.org/maven2</url>
          <mirrorOf>central</mirrorOf>
        </mirror>

  • 相关阅读:
    cpuset
    top
    path-lookup
    strace
    IDR算法[原理]
    cgroup
    转载
    std::reverse_iterator::base
    可重入、不可重入
    chromium code 中 普遍使用的 C++11 语法
  • 原文地址:https://www.cnblogs.com/wangshuyi/p/10370628.html
Copyright © 2011-2022 走看看