Installing MAVEN and configuring Maven in eclipse

Source: Internet
Author: User

Download maven version:

1, enter the official website:, download the compiled MAVEN version;

2, create a directory, the download of MAVEN compressed package, decompression, such as:

To configure the MAVEN environment variable:

1. Create a new system variable:

2. Add the custom variable name in step one to path: (e.g.%maven_home%\bin)

3, check if MAVEN is configured OK, enter cmd, enter Mvn-v, if the following information is displayed, the configuration is successful:

Install Maven on eclipse:

1, open Eclipse Click Window>prferences will pop up;

2, connected to the local warehouse (MAVEN is a jar management tool, we need to use the package is downloaded from the Maven repository, and each time we download the jar package, are stored in the following directory we created);

2.1 into the Conf in the extracted Maven directory, edit the settings.xml file, add the local repository file (file customization);

2.2 Again into Eclipse click Window and click Preferences;

After completing the above configuration steps, our MAVEN configuration is complete.

Installing MAVEN and configuring Maven in eclipse

Related Article

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: 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.