
Maven is a software project management tool that handles dependencies, builds, and documentation from a central repository, letting you specify dependencies and automatically download jars.
Install maven on your system, set the environment variables, and verify the installation; then create your first maven project in eclipse using a quickstart template, configuring groupId, artifactId, and version.
Understand how to use maven to manage java dependencies by configuring pom.xml, downloading selenium and other jars from a maven repository, and running tests with the surefire plugin.
Use the maven surefire plugin to compile and run tests from the command line with mvn clean and mvn test; ensure test classes end with test to run all tests.
Integrate the maven surefire plugin with testng.xml by adding a configuration tag to define which xml test suites to execute, and run selective tests to verify outcomes.
Select and run specific test sets in Maven by creating regression and sanity profiles, and executing mvn test with -P regression or -P sanity to target the desired suite.
Maven is the most popular Java Dependency Management Tool.
This course will enable you to build a maven project from scratch and configure all the dependencies required for a project
We will discuss how to run various test from command line in maven
We will discuss how to trigger testng xmls using maven
We will be talking about various terminologies used in maven project