You will need a recent version of Eclipse, which can be downloaded from its home page (https://www.eclipse.org/downloads/). In this book, we will use Eclipse Luna. Open Eclipse and start a new Maven Project with the default settings, as shown in the following screenshot:
The New Maven project screen will appear, as shown in the following screenshot:
Now, we need to tell the project to add the Mahout JAR file and its dependencies to the project. Locate the pom.xml file and open it with the text editor (left-click on Open With | Text Editor), as shown in the following screenshot:
Locate the line starting with <dependencies> and add the following code in the next line:
<dependency> <groupId>org.apache.mahout</groupId> <artifactId>mahout-mr</artifactId> <version>0.10.0</version> </dependency>
That's it; Mahout has been added, and we are ready to begin.