I\'m following Maven in 5 Minutes manual with the following:
mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-a
I am using Windows 7 SP1.
I was having the problem because I ran it using PowerShell.
It works fine when I ran it using CMD.EXE.
Thanks for everyone's help.