In this video tutorial we are going to learn how to use Apache Maven for Selenium. In Selenium java project to perform the test and also we use more library and jar file so it is difficult to manage. To make the management of java project more effective we have chosen the Management tool Maven. That means we can manage java project builds very easily using maven. Maven can help you to minimize your project and build management time and efforts.
Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting, and documentation from a central piece of information.
Maven Requirement:
Step 1:Maven is Java-based tool, so the very first requirement is to have JDK installed on your machine.
Step 2:Set the JAVA_HOME environment variable to point to the base directory location where Java is installed on your machine.
Step 3: Download Maven from http://maven.apache.org/download.cgi
Step 4: Extract the archive, to the directory you wish to install Maven
Step 5: Set Maven environment variables
Set the environment variables using system properties.
M_HOME=C:\Program Files\Apache Software Foundation\apache-maven-3.3.3
Step 6: Add Maven bin directory location to system path
Path=C:\Program Files\Apache Software Foundation\apache-maven-3.3.3\bin
Step 7: Verify Maven installation
C: → mvn → version
#ProgrammingLine #Rakesh #SeleniumCourse
Video Credits: Abirami
Disclaimer: Thanks Abirami for contributing this video for this channel. I have paid Abirami for doing this video exclusively for this channel.
*******************************************************
Java Course: • Java Course
Python Course: • Python Course
Software Design Patterns Course: • Software Design Patterns
OOPs Course: • OOPs Course
NLP Course: • NLP Course
Software Interview Tips: • Software Interview Tips
Important Links:
Skillshare - Best Online Learning Platform (2 Free Months of Premium Membership): https://programmingline.com/skillshare
Java Course: https://programmingline.com/java-course
Software Design Patterns Course: https://programmingline.com/software-...
Object Oriented Programming (OOPs) Course: https://programmingline.com/oops
Best Books for Software Courses: https://programmingline.com/best-book...
Campus Interview: https://programmingline.com/campus-in...
How to crack the programming aptitude round?: https://programmingline.com/how-to-cr...
*******************************************************
Subscribe my YouTube channels:
► Subscribe / @programminglineinenglish8654 channel for watching Software Related courses like Java, Software Design Patterns, OOPs, and etc in Telugu.
► Subscribe / @roadtoinvestment7954 channel for watching Income Tax saving schemes and Stock Market related videos.
► Subscribe / @rakesh-ms7tn channel for watching Terrace Gardening Tips, Unboxing products, and Random videos in Tamil, Telugu, and English.
Website: www.programmingline.com
FaceBook page: / programminglineofficial
Instagram: / programmingline
Twitter: / programmingline
*******************************************************