What is Maven?
Maven is an automation build tool which is based on POM (Project Object Module).Maven has so many feature, we will discuss it later. As of now lets create our first project.
Steps to be followed:
- File -> New Project
- Click Maven -> Maven Project -> Next
- Check Create Simple Project -> Next
- Type in Group Id
- Type in Artifact Id (It is your project name)
- As soon as you crated a project it will take time to load maven settings. Once loaded you can see the project structure in Package Explorer
- Now double click on pom.xml and select the pom.xml tab in right hand side
- After the version tag add the maven dependencies
- Once the downloaded are completed you able to see a Maven Dependencies in the Package Explorer
Advantage of Maven:
- Single dependency will internally call others required dependencies
- It is very easy to maintain
- If newer version is released no need to change all the corresponding jar files instead of the that just change the version number in pom.xml
- Maven is very stable
That's all for now!
In next tutorial we will see how to set all drivers to launch browser
Spread the Love! Share post ♥ Comments are always welcome
Thanks for being here!
Happy learning!








Comments
Post a Comment