Time for action – installing the Maven build tool
Many build tools are available for building a Java project. We are going to use Maven 3.2.1 as our build tool. Let's take a look at how we can install Maven:
- Go to Maven's download page by entering the following URL on your browser:
- Click on the apache-maven-3.2.1-bin.zip download link, and start the download.
- Once the download is finished, go to the downloaded directory and extract the
.zip
file into a convenient directory of your choice. - Now we need to create one more environment variable, called
M2_HOME
, in a way that is similar to the way in which we createdJAVA_HOME
. Enter the extracted Maven zip directory's path as the value for theM2_HOME
environment variable. ...
Get Spring MVC Beginner’s Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.