I configured Maven 3.0.3 and tried to download a sample project using archetypes with this command:
mvn archetype:generate -DarchetypeGroupId=org.graniteds.
This problem will solve when we change the version of apache-maven
I faced it and it was solved when i used apache-maven-2.2.1