Hi Everyone, In this video, we will see how to resolve below error while pulling the BDD maven project from GIT/GitHub and build in using Jenkins Job-
[ERROR] Unknown lifecycle phase “mvn”. You must specify a valid lifecycle phase or a goal in the format plugin-prefix:goal or plugin-group-id:plugin-artifact-id[:plugin-version]:goal. Available lifecycle phases are: pre-clean, clean, post-clean, validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy. – [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]
Playlists in this channel:
Selenium Cucumber BDD Framework development with Java and TestNG | Latest Features (2023-2024) Series:
Playwright with Java script [2023 latest] – End to end – By SDET Adda for QA Automation:
TestNG + Selenium 4 Tutorial -2022/2023 🔥🔥🔥:
Selenium webdriver issues and solutions:
Git & GitHub Tutorial for Beginners [2023 Updated]:
Basic Linux (UNIX) Commands with Shell Scripting Tutorial for Testers [2023]:
Top 100 Java programs for QA testing Interviews:
#cucumber #javainterviewquestionsandanswers #automationframework #bddcucumber #devops #jenkins #selenium #javascript #javaprogramming #LifecyclePhaseNotFoundException
[ad_2]
source