how to include maven dependencies code example
Example 1: what are the dependencies in maven
Selenium Java
Cucumber
JRE System library 1.8 in
TestNG
WebDriverManager_BoniGarcia
Cucumber Java
Cucumber TestNG
Apache POI.XML
APACHE POI
JDBC
Restassured
Gson
Log4j
and lastly
JavaFaker to generate random input
Example 2: where does maven store dependencies
- .m2
- .m2 is a hidden file where maven stores all the dependencies.
- in some cases when you have problem with dependencies,
you might have to locate ~/.m2 file and delete everything.
Then re-import project. Sometimes solves the pom.xml file related issues.