Updating Pom.xml:
Go to the Eclipse > Double
click on your Maven project or expand your Maven Project > Double click on
Pom.xml and you will see the default page.
Pic 17
Now before the </project>
you have to get some space. So I am getting some space after version.
Now type: <dependencies> </dependencies>
Exp:
<dependencies>
(here you have to input your dependencies)
</dependencies>
Suppose I will input JUnit dependence.
So I will visit the website MVN REPOSITORY (https://mvnrepository.com/)
then I will write JUnit at search box and click on search or press enter.
Pic 18
Then click on Junit name >
chose a version which one you want and click on then version number.
Pic 19
Now click on the code
box and it will be selected.
Pic 20
Then copy it and past it
in pom.xml under <dependencies> PAST </dependencies>.
Pic 21
So by following this say way we
can input more dependencies as we need.
More:
1. 1. Selenium java, 2. TestNG 3. ApachePOI (poi-ooxml) 5. ApachePOI (poi)6. ExtentReports 7. commons-lang3 8. commons-io, 9. Sikuli api