使用代理可以解决上述问题。电脑上已经装了翻"墙"利器 goagent,默认代理地址127.0.0.1:8087,接下来给maven和svn配置配置。
MAVEN代理设置:
进入配置文件 ~/.m2/setting.xml,添加代理设置
<settings> ... <proxies> <proxy> <id>goagent</id> <active>true</active> <protocol>http</protocol> <host>127.0.0.1</host> <port>8087</port> </proxy> </proxies> </settings>
svn代理设置
桌面右键-TortoiseSVN-Settings-Networks