Follow the instructions below to set up Apache Maven.
Make sure you have a JDK installed on your system. Refer to Apache Maven System Requirements for details.
1. Open a Web browser and access the following URL:
5. The download Save dialog box opens. Click "OK."
6. The download starts.
After the download is complete, extract installation files to the user-defined folder. For example,
In order to run Apache Maven, it is necessary to set up
M2_HOME environment variable, and add "bin" to
PATH variable. The variable points to the directory where Apache Maven is installed on the computer.
Environment variables are global system variables accessible by all the processes running under the operating system.
In order to set the variable, it is necessary to know the Maven installation folder. Using a browser (e.g. Total Commander) open the user-defined directory to which Apache Maven archive was extracted (See Step 2). This is the path to Apache Maven installation folder.
Follow the instructions below.
Make sure that the system variable JAVA_HOME is set to the JDK location.
Follow the instructions below to verify that Apache Maven is set up correctly.