You've probably already done this, but if you're behind a corporate firewall that forces you to use a proxy, you can set that up in ~/.m2/settings.xml.
curl will use a environment variable $http_proxy or $all_proxy, maven will not use this environment variable. Here is my settings.xml: <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <proxies> <proxy> <id>mitre_proxy</id> <active>true</active> <protocol>http</protocol> <host>proxy.mycompany.com</host> <port>80</port> <nonProxyHosts>*.mycompany.com|localhost|127.0.0.1</nonProxyHosts> </proxy> </proxies> </settings> Matt From: <Bleeker>, "Troy C." <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, January 18, 2013 14:19 To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: cTAKES 3.0 maven compile issue Let's see, so 46GB available on the drive that I put cTAKES on. I used wget http://apache.mirrors.pair.com/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.tar.gz to download Maven before any of the checkouts or compiles so Internet access, check. Command used was mvn clean compile package Thanks Troy
