Sounds like firewall or virus scan problems. I used to have the same kind of problems when updating eclipse. A workaround might be to set up some kind of maven repository/proxy (I use Archiva) Manually installing problem files into Archiva if needed.
-----Original Message----- From: Paul Johnston [mailto:paul.johns...@pentest.co.uk] Sent: 13. desember 2011 15:40 To: users@maven.apache.org Subject: Maven hangs downloading artifacts Hi, I'm having terrible trouble with Maven hanging while downloading artifacts. It randomly stops mid-download. Usually, cancelling with ctrl-C and re-running results in success, and I often have to do that two or three times to get a successful build. Annoying but acceptable. However, sometimes I get completely stuck. If it helps, here's mvn --version: Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+0000) Maven home: c:\code\apache-maven-3.0.3\bin\.. Java version: 1.7.0, vendor: Oracle Corporation Java home: c:\Program Files\Java\jdk1.7.0\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" The pom.xml has no repository information, I'm just going to the main Maven repos. I am behind a firewall, but no HTTP proxy. If I copy the URLs into my web browser, the files download fine. Having particular problems with these files at the moment: Downloading: http://repo1.maven.org/maven2/fop/fop/0.20.5/fop-0.20.5.jar Downloading: http://repo1.maven.org/maven2/batik/batik-1.5-fop/0.20-5/batik-1.5-fop-0.20-5.jar Couldn't find any mention of this on the mailing list, am I the only one having this problem? It's highly frustrating for me, as it makes an otherwise excellent build system feel like endless trial-and-error. Any help greatly appreciated! Paul -- Pentest - When a tick in the box is not enough Paul Johnston - IT Security Consultant / Tiger SST Pentest Limited - ISO 9001 (cert 16055) / ISO 27001 (cert 558982) Office: +44 (0) 161 233 0100 Mobile: +44 (0) 7817 219 072 Email policy: http://www.pentest.co.uk/legal.shtml#emailpolicy Registered Number: 4217114 England & Wales Registered Office: 26a The Downs, Altrincham, Cheshire, WA14 2PU, UK --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org