zoukankan      html  css  js  c++  java
  • Idea使用Maven异常 --- Maven网络代理设置

    在conf/setting.xml和m2/repository/setting.xml中加入:

     <proxies>
        <!-- proxy
         | Specification for one proxy, to be used in connecting to the network.
         |
        <proxy>
          <id>optional</id>
          <active>true</active>
          <protocol>http</protocol>
          <username>proxyuser</username>
          <password>proxypass</password>
          <host>proxy.host.net</host>
          <port>80</port>
          <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
        </proxy>
        -->
        <!-- proxy
         | Specification for one proxy, to be used in connecting to the network.
         |
       -->
        <proxy>
          <host>proxy1.bj.xxxxxx</host>
          <port>8080</port>
          <nonProxyHosts></nonProxyHosts>
        </proxy> 
      </proxies>
  • 相关阅读:
    C++11 学习总结
    平衡二叉树 (AVL) 笔记
    拼图模板
    2013.9.12
    2013.9.11
    2013.9.10
    2013.9.9
    下载网站
    ubuntu 安装codeblocks
    12个球称3次找坏球的完美解答
  • 原文地址:https://www.cnblogs.com/jooy/p/8532610.html
Copyright © 2011-2022 走看看