Hey BugHunters, In this video we are going to discuss Maven Lifecycle Tutorial, What is Maven, Maven Goals, Phases in depth.
π₯ Download Maven CheatSheet - https://scrolltest.com/ra/day11
β
What is Maven?
Maven is a build automation tool used primarily for Java projects. Maven can also be used to build and manage projects written in C#, Ruby, Scala, and other languages.
β What is Maven Build Lifecycle?
validate - validate the project is correct and all necessary information is available
compile - compile the source code of the project
test - test the compiled source code using a suitable unit testing framework. These tests should not require the code be packaged or deployedpackage - take the compiled code and package it in its distributable format, such as a JAR.
verify - run any checks on results of integration tests to ensure quality criteria are met
install - install the package into the local repository, for use as a dependency in other projects locally
deploy - done in the build environment, copies the final package to the remote repository for sharing with other developers and projects.
β
What is Maven Build Goals
A build phase is made up of a set of goals. Maven goals represent a specific task that contributes to the building and managing of a project.
Sometimes, a maven goal is not bound to a build phase. We can execute these goals through the command line.
The syntax to execute a goal is:
$ mvn plugin-prefix:goal
$ mvn plugin-group-id:plugin-artifact-id[:plugin-version]:goal
Here is an example to execute the dependency tree goal from the command line. Itβs not part of any build phases.
mvn dependency:tree
π₯ Download the following dependencies to Maven Pom
https://scrolltest.com/ra/day10
api #apitesting #restassured #rest #restapi #restassuredtutorial
P.S:
This is Day 10 of the 30 days of API Testing challenge Series. Where will learn the Basics before jumping to API Automation.
π All 30 Days Task - https://scrolltest.com/30days/restassured
π Join 30 Days Challenge Updates - https://scrolltest.com/tta
π Free Automation MasterClass - https://thetestingacademy.com
π REST API testing with Python - https://masterapitesting.com
--
Be sure to subscribe for more videos like this!
Top comments (0)