Error
"The goal you specified requires a project to execute but there is no POM in this directory" while doing Maven install.
Cause
There is no POM file in the current directory.
Resolution
Make sure that there is a POM file within the current project and directory.
Do "ls pom.xml" and see if you can see a pom file.
If the POM file is in a different directory, move to that directory and then run "mvn install"