您的位置:首页 > 其它

Maven在windows下设置代理须知

2017-01-03 12:15 399 查看
官网设置代理介绍地址:http://maven.apache.org/guides/mini/guide-proxies.html  

但是注意里面有这样一句话:Please note that currently NTLM proxies are not supported as they have not been tested. You may be able to use the relevant system properties
on JDK 1.4+ to make this work.

解决:

Download the wagon-http-lightweight-2.2.jar from http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/2.2/wagon-http-lightweight-2.2.jar
Copy the downloaded file to %M2_HOME%/lib/ext folder.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: