I try to build a project with the help of Maven, I have already read a lot of sources, I can not understand what the problem is. Every time, after entering the console mvn verify, mvn compile, mvn install I see the following result:

C:\Users\1>mvn -version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; Maven home: C:\Program Files\Java\apache-maven-3.3.9 Java version: 1.8.0_51, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_51\jre C:\Users\1>mvn verify [INFO] Scanning for projects... [INFO] ----------------------------------------------------------------- [INFO] BUILD FAILURE [INFO] ----------------------------------------------------------------- [INFO] Total time: 0.113 s [INFO] Finished at: 2016-04-09T20:22:41+03:00 [INFO] Final Memory: 5M/77M [INFO] ---------------------------------------------------------------- [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\1). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException 
  • 2
    but there is no POM in this directory (C: \ Users \ 1) - Russtam
  • Pom.xml file In the directory C: \ Users \ 1 it is not. So, there is nothing to collect. - Nofate
  • thanks, pom I really have in another directory - Ubivashka

1 answer 1

but there is no POM in this directory (C: \ Users \ 1) you do not have the pom.xml file in the directory from which the package starts (C: \ Users \ 1). Search where downloaded distr.