The command you should be using to generate a project with an archetype is...
mvn archetype:generate
The command you posted in your question was wrong (missing the first 'e' in archetype). I assume this is just a typo in SO though because the error you posted had archetype spelled correctly.
if you spelled everything right please check your proxy.
hi ,
i have used all the Command Correctly (Spelling),also checked the proxy
but still facing issue PFA screen shot.
for more detail.
I got the resolution we have to set the correct path for setting.xml and proxy detail as well
ya sure..
I have update the settings.xml--like that------------------------------>
-<settings>
-<proxies>
-<proxy>
<active>true</active>
<protocol>http</protocol>
<host>10.33.64.14</host>
<port>8080</port>
<username/>
<password/>
<nonProxyHosts/>
</proxy>
Paste this xml in the both the folder -->
C:\Users\deepak-r\.m2\settings.xml
C:\Users\deepak-r\.m2\repository
Update the User setting through preference tab in eclipse pfa Screen shot
now execute the maven command it will work properly
Thanks
Deepak
</proxies>
</settings>