download and install apache maven
apache maven logo

In this blog, we will discuss about a guy (let us call him John) who’s getting started in Appium 2.0.
John wants to know about, the process of download and installation of Apache Maven on Windows 11.
A senior Tester (Keith) answers his questions. John is not too sure about IntelliJ Idea community edition.

Keith: Apache maven has various benefits. While you are curious to know what it is all about, let me say it can help you organize.

John: Organize? What and How?

Download and Install IntelliJ:

Keith: John, I think you have already downloaded and installed IntelliJ, from the previous blog.

John: Yes, but that was not the community Edition. It was some..err.. umm Unified edition.

Keith: There is no separate Community edition for download. However, you can download and install the Unified edition, which has the community edition included. You need not purchase anything.

John: Oh, ok! So what has Apache maven, IntelliJ got to do with Appium?

Keith: IntelliJ is a place where you write your Java code, your appium tests etc.
While the code can be organized by creating a File | New Project | Java.
Apache Maven can help you create

Download and Install Apache Maven:


Keith: Apache Maven should be downloaded and installed locally on your Windows Machine, and the path set as shown in this YouTube video:

A Prerequisite to download and installation of Apache Maven:

Java needs to be installed and JAVA_HOME needs to be set

This can help you create a folder structure to organize your code

Hmm, how about creating a new project in IntelliJ?

  1. You create a File | Maven Archetype | choose a quickstart archetype
  2. You download dependencies like TestNG, Selenium Webdrivers etc. by just editing the pom.xml
  3. You will have a test folder where you can write all your tests
  4. After writing all your tests, it is time to deliver. Maven helps you create a build (an executable) jar file. This jar file contains all the tests that need to be delivered for the day/week to your lead/manager etc.

John: Phew! that was a lot of stuff that Apache maven can do

Image credit: Apache Software Foundation, Public domain, via Wikimedia Commons

Leave a Reply

Discover more from Test Pulse

Subscribe now to keep reading and get access to the full archive.

Continue reading