I had the same error. In my case, I am using Netbeans 7.1.2, I am posting this because maybe someone will be here just like me.
I tried to configure proxy settings from the GUI, but the documentation says that maven does not read them. So I checked the NetBeans FAQ here :
What you basically need to do is create (if it does not exist) the settings.xml parameter under
user.home/.m2/settings.xml
if you donβt have one, you can copy from
netbeans.home/java/maven/conf/settings.xml
then uncomment if you already have this, otherwise fill out this section:
<proxies> <proxy> <active>true</active> <host>myproxy.host.net</host> <port>80</port> </proxy> </proxies>
you need to check the proxy server configuration and replace it there
Snake Sanders May 11 '12 at 8:28 a.m. 2012-05-11 08:28
source share