Good management tools for Java applications maven download installation and configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.