On this page you will find Maven Tutorial. This will be helpful in development as well as for testing frameworks.

Maven can be considered as a complete project development tool, not just a build tool like Ant. Maven is a build automation tool which also used to manage the dependencies.

Below image shows about functionality of maven in pictorial view –

Maven Tutorial - What is maven, how maven works

How Maven build helps in Continuous integration (CI) for your Selenium Project(Maven Tutorial):

Many a times, we end up working in a project where a large bunch of developers and testers are working together on different modules. Developers and Testers work on their modules thereby developing executable’s. These work products are then integrated at regular intervals. Thus, every time we create a development code, it needs to be integrated, tested and built to ensure that the code developed doesn’t break or introduces errors or defects.

This process of building and testing the development work integrated at regular intervals is known as Continuous Integration (CI).

To be able to use any CI tool(Hudson, Jenkins etc), we need the following things to be in place to get start:

  • Source Code Repository (SVN/Git/CVS etc.)
  • Build Script (Ant/Maven etc.)

Maven build helps here to create the JAR file for performing the CI operation.

This should gives you a basic idea about Maven. With below articles for maven tutorial, you should be in a position to work with maven as a build tool.

 

Introduction to Maven (A Build Tool) – What is Maven?

How to download and Install Maven in Eclipse IDE?

How to create Maven Project for Selenium in Eclipse IDE?

Maven Build Life Cycle – Maven commands execution

How to run TestNG.xml file from maven’s POM.xml

How to run maven project from Jenkins (Continuous Integration Tool)

Looking for learning Framework Development from Scratch? Lookout for Detailed Framework Development videos on YouTube here -

https://www.youtube.com/automationtalks

Get the Framework code at Github Repo: https://github.com/prakashnarkhede?tab=repositories