---
description: Apache Maven is a Java-based project management tool. It can provide a multitasking framework for developers. It eases the complete build lifecycle. Maven is pre-defined and declared in XML format cal
title: Appium Maven Dependency: Installation with Project Example
image: https://www.guru99.com/images/Datastage/072916_1116_AppiumDesir1.png
---

 

[Skip to content](#main) 

## What is Apache Maven?

**Apache Maven** is a Java-based project management and automation tool. It provides a multitasking framework for developers to ease the complete build lifecycle for Java applications. Maven is pre-defined and declared in an XML format called POM (Project Object Model) and referred to as ‘pom.xml.’ It can also be used for other languages like C#, Scala, Ruby, etc.  
Using Maven framework, we can easily manage following tasks in any project-

* Build cycle
* Project Documentation
* Report Checks
* Scrums management
* Release Information

Basic uses of Maven are-

* Enforces a standard directory structure.
* Provide a reusable and easy to maintain project structure.
* Resolve packages dependencies.
* Provide a configuration management framework.

**Download Appium Maven Dependencies**

Before start writing APPIUM dependency test with Maven, we need to download Appium Maven dependency from Appium JAR download file from [Maven central repository](http://search.maven.org/) website.

[![Download Appium Maven Dependencies](https://www.guru99.com/images/Datastage/072916_1116_AppiumDesir1.png)](https://www.guru99.com/images/Datastage/072916%5F1116%5FAppiumDesir1.png)

or directly add below mentioned POM.xml artifact:

<dependency>
  <groupId>io.appium</groupId>
  <artifactId>java-client</artifactId>
  <version>3.4.1</version>
</dependency>

Please go through our [Maven tutorial](https://www.guru99.com/maven-jenkins-with-selenium-complete-tutorial.html) to learn how to configure Maven with Eclipse.

## Testing Application with APPIUM and Maven

After configuring Appium Java Maven plug-in Eclipse. It will be ready to test any android .apk application with Appium and Maven as shown in the Appium Maven project example below.

**Step 1)** In this step,

1. Go to NEW >> select Maven project
2. Click on ‘next’ button

[![Testing Application with APPIUM and Maven](https://www.guru99.com/images/Datastage/072916_1116_AppiumDesir2.png)](https://www.guru99.com/images/Datastage/072916%5F1116%5FAppiumDesir2.png)

**Step 2)** Then in ‘New Maven Project’ window, enter ‘Appium Test’ in Group Id and Artifact Id column. In this step, you have to enter.

1. Group Id
2. Artifact Id
3. Version
4. Packaging
5. Name and Description
6. Finish

[![Testing Application with APPIUM and Maven](https://www.guru99.com/images/Datastage/072916_1116_AppiumDesir3.png)](https://www.guru99.com/images/Datastage/072916%5F1116%5FAppiumDesir3.png)

Clicking on Finish button. It will open a new class on the defined Group Id (AppiumTest) name.

**Step 3)** To start with Appium script. Right click on ‘src/main/java’ from left side explorer window. Then select New >> class. Write the Appium code inside the selected class.

[![Testing Application with APPIUM and Maven](https://www.guru99.com/images/Datastage/072916_1116_AppiumDesir4.png)](https://www.guru99.com/images/Datastage/072916%5F1116%5FAppiumDesir4.png)

**Step 4)** In the same project, click over pom.xml from left explorer menu. All dependencies will be visible by default in ‘pom.xml’ tab. Refer to the Image below-

[![Testing Application with APPIUM and Maven](https://www.guru99.com/images/Datastage/072916_1116_AppiumDesir5.png)](https://www.guru99.com/images/Datastage/072916%5F1116%5FAppiumDesir5.png)

If in the case of default pom.xml does not exist then just add all Maven Appium dependencies. (extracted from Maven central repository website}

**http://search.maven.org/#search|gav|1|g%3A%22io.appium%22%20AND%20a%3A%22java-client%22**

[![Testing Application with APPIUM and Maven](https://www.guru99.com/images/Datastage/072916_1116_AppiumDesir6.png)](https://www.guru99.com/images/Datastage/072916%5F1116%5FAppiumDesir6.png)

**Step 5)** Now, right click on ‘pom.xml’ from left explorer or over the xml code for ‘AppiumTest’ project. Then click ‘Run As >> Maven Clean’ option.

[![Testing Application with APPIUM and Maven](https://www.guru99.com/images/Datastage/072916_1116_AppiumDesir7.png)](https://www.guru99.com/images/Datastage/072916%5F1116%5FAppiumDesir7.png)

While running, the user could see all Maven related jar files and success message. Hence, this way the user can run APPIUM Java client Maven dependency test with Maven configured environment.

[![Testing Application with APPIUM and Maven](https://www.guru99.com/images/Datastage/072916_1116_AppiumDesir8.png)](https://www.guru99.com/images/Datastage/072916%5F1116%5FAppiumDesir8.png)

## Summary

* Maven is a JAVA based Project Management Framework.
* It is pre-defined and declared in XML format called as POM (Project Object Model) and referred to ‘pom.xml’.

#### Summarize this post with:

ChatGPT Perplexity Grok Google AI 

**Stay Updated on AI** **Get Weekly AI Skills, Trends, Actionable Advice.** 

##### Sign up for the newsletter

Subscribe for Free 

You have successfully subscribed.  
Please check your inbox. 

![AI-Newsletter](https://www.guru99.com/images/footer-email-avatar-imges-1.png) Chosen by over **350,000+** professionals 

[Scroll to top ](#wrapper)Scroll to top 

× 

Toggle Menu Close 

Search for: 

Search

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.guru99.com/#organization","name":"Guru99","sameAs":["https://www.facebook.com/Guru99Official","https://twitter.com/guru99com"],"logo":{"@type":"ImageObject","@id":"https://www.guru99.com/#logo","url":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","contentUrl":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","caption":"Guru99","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.guru99.com/#website","url":"https://www.guru99.com","name":"Guru99","publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.guru99.com/images/appium-maven.png","url":"https://www.guru99.com/images/appium-maven.png","width":"438","height":"170","inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.guru99.com/appium-maven.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://www.guru99.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://www.guru99.com/mobile-testing","name":"Mobile Apps Testing"}},{"@type":"ListItem","position":"3","item":{"@id":"https://www.guru99.com/appium-maven.html","name":"Appium Maven Dependency: Installation with Project Example"}}]},{"@type":"WebPage","@id":"https://www.guru99.com/appium-maven.html#webpage","url":"https://www.guru99.com/appium-maven.html","name":"Appium Maven Dependency: Installation with Project Example","dateModified":"2024-01-05T18:56:24+05:30","isPartOf":{"@id":"https://www.guru99.com/#website"},"primaryImageOfPage":{"@id":"https://www.guru99.com/images/appium-maven.png"},"inLanguage":"en-US","breadcrumb":{"@id":"https://www.guru99.com/appium-maven.html#breadcrumb"}},{"@type":"Person","@id":"https://www.guru99.com/author/thomas","name":"Thomas Hamilton","description":"I am Thomas Hamilton, a seasoned professional in software testing, specializing in crafting comprehensive guides to help you master your software testing skills.","url":"https://www.guru99.com/author/thomas","image":{"@type":"ImageObject","@id":"https://www.guru99.com/images/thomas-hamilton-author-v2-120x120.png","url":"https://www.guru99.com/images/thomas-hamilton-author-v2-120x120.png","caption":"Thomas Hamilton","inLanguage":"en-US"},"worksFor":{"@id":"https://www.guru99.com/#organization"}},{"@type":"NewsArticle","headline":"Appium Maven Dependency: Installation with Project Example","keywords":"mobile","dateModified":"2024-01-05T18:56:24+05:30","articleSection":"Mobile Apps Testing","author":{"@id":"https://www.guru99.com/author/thomas","name":"Thomas Hamilton"},"publisher":{"@id":"https://www.guru99.com/#organization"},"description":"Apache Maven is a Java-based project management tool. It can provide a multitasking framework for developers. It eases the complete build lifecycle. Maven is pre-defined and declared in XML format cal","copyrightYear":"2024","copyrightHolder":{"@id":"https://www.guru99.com/#organization"},"name":"Appium Maven Dependency: Installation with Project Example","@id":"https://www.guru99.com/appium-maven.html#richSnippet","isPartOf":{"@id":"https://www.guru99.com/appium-maven.html#webpage"},"image":{"@id":"https://www.guru99.com/images/appium-maven.png"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.guru99.com/appium-maven.html#webpage"}}]}
```
