Maven编译问题,Connection TimeOut

阅读更多
如果本机使用了代理服务器连接互联网的话,使用maven编译时,需要配置其proxy元素段,如下:

<$Maven_Home>/conf/settings.xml

///////////begin////////////////

 
   
   
      optional
      true
      http
      proxyuser
      proxypass
      your.proxy.server.name
      8080
      127.0.0.1|localhost|cnd
   

   
 


///////////end//////////////////

你可能感兴趣的:(maven,proxy,timeout)