title: The goal you specified requires a project to execute but there is no POM in this directory
body: <p>I'm facing below exception:</p>
  
  <blockquote>
    <p>org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a project to execute but there is no POM in this directory (C:). Please verify you invoked Maven from the correct directory.</p>
  </blockquote>
  
  <p>Console log:</p>
  
  <pre><code>[DEBUG] Reading global settings from C:\Program Files\apache-maven-3.2.5\conf\settings.xml 
  [DEBUG] Reading user settings from C:\Users\user_aaa\.m2\settings.xml 
  [DEBUG] Using local repository at C:\path\to\local\repo 
  [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\path\to\local\repo 
  [INFO] Scanning for projects... 
  [DEBUG] Extension realms for project org.apache.maven:standalone-pom:pom:1: (none) 
  [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE 
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.078 s 
  [INFO] Finished at: 2017-09-12T17:05:08+08:00 
  [INFO] Final Memory: 5M/123M 
  [INFO] ------------------------------------------------------------------------ 
  [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\). Please verify you invoked Maven from the correct directory. -&gt; [Help 1] org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a project to execute but there is no POM in this directory (C:\). Please verify you invoked Maven from the correct directory.
  </code></pre>
  
  <p>Maven version info:</p>
  
  <pre><code>C:\&gt;mvn -X version 
  Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-15T01:29:23+08:00) 
  Maven home: C:\Program Files\apache-maven-3.2.5 
  Java version: 1.8.0_144, vendor: Oracle Corporation
  Java home: C:\Program Files\Java\jdk1.8.0_144\jre 
  Default locale: en_US, platform encoding: MS950_HKSCS
  OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos"
  </code></pre>
  
  <p>Do I need to set <code>pom.xml</code> by myself? How and where? Did I install Maven correctly in Windows?</p>