关闭

Maven在windows下设置代理须知

173人阅读 评论(0) 收藏 举报
分类:

官网设置代理介绍地址: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.


解决:

  1. 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
  2. Copy the downloaded file to %M2_HOME%/lib/ext folder.


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:546389次
    • 积分:7645
    • 等级:
    • 排名:第2877名
    • 原创:215篇
    • 转载:54篇
    • 译文:0篇
    • 评论:200条
    博客专栏
    文章分类
    最新评论