1. Enter Maven's official: http://maven.apache.org/download.cgi
2. Scroll down the page and click this zip package to download:
3. Unzip the package and cut it to a directory on your Mac to complete the MAVEN installation (this example resides in the current user's Java folder):
4. Open the. bash_profile file in the terminal, and configure the environment variable for maven:
Open-e. Bash_profile
In the. Bash_profile window, add the following configuration:
maven_home=/users/mac.manon/java/apache-maven-3.3.9 (Note: This is replaced by your maven actual installation path)
$MAVEN _home/bin:
Export Maven_home
5. Save the above configuration, then use "source. Base_profile" To make the configuration take effect, and then enter "Mvn-v", and see the version number of 3.3.9 to indicate that MAVEN has been configured successfully:
Then we build a project with Maven.
Good management tools for Java applications maven download installation and configuration