I configured Maven 3.0.3 and tried to download a sample project using archetypes with this command:
mvn archetype:generate -DarchetypeGroupId=org.graniteds.
I have to put
optional
true
http
Your proxy host
proxy host ip
local.net|some.host.com
Before
optional
true
https
Your proxy host
proxy host ip
local.net|some.host.com
Weird, but yes!, has to come before .
It solved my problem. Hope it helps someone who faces connections issue even after enabling proxy settings in conf/settings.xml.