8. Appium Installation (Maven Part)

8. Appium Installation (Maven Part): Maven for Build Management
i. Download Apache Maven using https://maven.apache.org/download.cgi
ii. Set MAVEN_HOME and PATH variables in system variables 
a. Go to My PC and click on properties.
b.  Now click on advanced system settings as shown below.


c. Now click on Environment variables
d.  In System variables click on “New” button and add below in window opened.
Variable name: MAVEN_HOME
Variable value: C:\Users\xxxxx\Downloads\apache-maven-3.6.2-bin\apache-maven-3.6.2
And the click on the OK button.


e.  Now click on Path in System variables window.
f. New window will be opened and here add below “New” Paths.
C:\Users\xxxxx\Downloads\apache-maven-3.6.2-bin\apache-maven-3.6.2\bin



iii. To check installed maven version type mvn -version in command prompt
iv. pom.xml contains different suites id e.g. Sanity, having testng.xml
v. pom.xml also contains various dependencies, plugins etc.
Maven is a build automation tool used primarily for Java projects. Maven can also be used to build and manage
projects written in C#, Ruby, Scala, and other languages. The Maven project is hosted by the Apache Software
Foundation, where it was formerly part of the Jakarta Project.



No comments:

Post a Comment

Cypress from beginning