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 had the same issue in Windows
and it worked since my proxy configuration in settings.xml file was changed
So locate and edit the file inside the \conf folder, for example : C:\Program Files\apache-maven-3.2.5\conf
80 to 8080/program files you can make a copy, edit the file and replace the file located into /program files folder.