Installing MAVEN and configuring Maven in eclipse

Source: Internet
Author: User

Download maven version:

1, enter the official website: http://maven.apache.org/download.cgi, 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

Cloud Intelligence Leading the Digital Future

Alibaba Cloud ACtivate Online Conference, Nov. 20th & 21st, 2019 (UTC+08)

Register Now >

Starter Package

SSD Cloud server and data transfer for only $2.50 a month

Get Started >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.