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 not sure that you are running "mvn compile" from POM directory and that is why it is asking for POM.
If so, simply go to directory where pom is located and then fire "mvn install" or any other Maven commands.