Maven failing to download jar dependencies

前端 未结 7 746
春和景丽
春和景丽 2020-12-09 14:52

I have a very simple default application that I\'ve created to test my Eclipse Indigo/Maven v3.0.1 setup on my Windows 7 machine. The Hello World app runs fine from Eclipse

7条回答
  •  轮回少年
    2020-12-09 15:13

    OK guys, I had the same problem downloading a large file. We're all probably using the lightweight HTTP wagon. If you look at the docs:

    http://maven.apache.org/wagon/wagon-providers/wagon-http-lightweight/

    Known Limitation:

    The main limitation is that you can't download data that doesn't fit entirely into memory.

    So I increased the memory for Maven:

    export MAVEN_OPTS="-Xmx1024m"

    and voila, it works. (!!!!)

提交回复
热议问题