there is no POM in this directory

10 views
Skip to first unread message

niraj vara

unread,
Jan 24, 2018, 1:09:08 AM1/24/18
to Jenkins Users
Hi

I have configure the maven with jenkins. I am using git for source code.  but when I run the build I am getting this error.

[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/var/lib/jenkins/workspace/case1). 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


Please guide how to solve this error. I have been trying since last 2-3 days but not able to solve so at last I have posted here.
Reply all
Reply to author
Forward
0 new messages