...
2. Apache Maven home page opens. Click the "Download" link in the "Get Maven" section.
3. The link redirects to the storage page of different download pack versions. Choose the version suitable for Windows.
...
4. The link redirects to the page suggesting a mirror site for the download. Follow the link on the page.
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, c:\wso2\apache-maven-3.0.3
.
Step 4. Set up M2_HOME
...
1. Right-click the "My Computer" icon on the desktop and select "Properties" from the pop-up menu.
2. In the "System Properties" window, go to the "Advanced" tab and click "Environment Variables".
3. The "Environment variables" window opens. Click the "New" button under "System variables."
4. The "New system variable" input box opens. Type "variable name": M2_HOME, and "variable value": Maven installation directory.
For example, c:\wso2\apache-maven-3.0.3. Click "OK."
5. In the "System variables" field select "PATH" and click on the "Edit" button.
...