Download Eclipse and install Maven - Eclipse Plugin

In our previous posts, we have been setting up our system to write our tests for mobile apps using Appium. We have seen how to install JDK. We also saw how to install Android SDK and we have installed Appium. Now it’s time to have an IDE to write our actual tests.

To begin with, we will write our tests in Java. And we will use Eclipse as our IDE. Additionally we will use Maven to manage all our project dependencies. So will see how to install maven as an eclipse plugin.

Getting eclipse and running is pretty simple
  • Go to eclipse download page and download the standard eclipse package (based on your machine configuration – 32-bit or 64-bit. 
  • Once downloaded, extract the content of the folder.
  • When you open the extracted contents folder, you will see eclipse.exe
  • Double click eclipse.exe and you will have eclipse running :)
(TIP: Create a desktop shortcut for eclipse.exe and you will be able to access it easily from your desktop) 
(TIP2: When you start eclipse, you will see an option to select workspace. A workspace is a location/folder on your machine, where all your projects will be saved. We created a separate folder on my disk where all projects will be stored. Also tick the checkbox, so eclipse doesn’t ask you to select workspace, every time you start it.) Now that we have eclipse downloaded and running, we will install Maven. You can get more information about maven from here.

Maven has multiple uses, but we will use for our project dependency management. We will show how to use maven when we actually write our tests.

But for this post, we will install eclipse maven plugin.
To do that, do the following

  • Go to Help > Install New Software
  • Click on “Add” button
  • Enter name = “m2e” and Location = “”
  • Click “OK”
  • You will see 2 components available. First one being the actual plugin and second being optional
  • Tick the checkbox(es)
  • Click on “Next”
  • Accept license agreement and complete installation
You will have to restart the eclipse to complete the installation

To confirm that maven was successfully installed
  • Click on File > New > Other
  • You should see an option to create a Maven project.
That’s pretty much it.

With this setup, you are all ready to start writing the actual tests using Appium.

In coming posts, we will create the actual tests using Appium.

Share your thoughts about the post.

If you like the post or found it useful, don't forget to share it. Feel free to comment and let us know your thoughts.