Get yourself a repo system. Working with Maven without a repo is a really tedious way to work.
We got Nexus a few years ago and it really improved our use of Maven and speeded up our builds tremendously.
It also allows you to fix licensing problems with some common libraries. Ron On 13/12/2011 9:40 AM, Paul Johnston wrote:
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
-- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org