Eclipse installs Maven

Source: Internet
Author: User
Tags aliyun

maven:http://maven.apache.org/download.cgi

1.maven Environment Configuration

Unzip the downloaded MAVEN into a disk, enter the E:\maven\apache-maven-3.3.9\conf directory, modify the Setting.xml file

Locate the <localRepository> node and configure the address of the local repository:

<localRepository>E:\maven\repo</localRepository>

Locate the <mirrors> node and configure MAVEN remote as follows:

<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
Copy the modified Setting.xml file to the E:\maven\repo directory

To configure the MAVEN environment variable:

Under System variable (S), create a new maven_home:e:\maven\apache-maven-3.3.9

In system variable (S), select Path variable, and at the end add;%maven_home%/bin

Under CMD, enter Mvn-v, there will be the following MAVEN basic information

2.eclipse Configuring MAVEN

That's all.

Eclipse installs Maven

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