java install maven dependencies code example
Example 1: mvn build project
# one of the following
# compiles java classes
mvn compile
# creates a jar in target folder
mavn package
# creates a jar in target folder and adds to your local .m2 repository
mvn install
Example 2: what are the dependencies in maven
Selenium Java
Cucumber
JRE System library 1.8 in <properties>
TestNG
WebDriverManager_BoniGarcia
Cucumber Java
Cucumber TestNG
Apache POI.XML
APACHE POI
JDBC
Restassured
Gson
Log4j
and lastly
JavaFaker to generate random input