MyEclipse installation of Maven

Source: Internet
Author: User

A good memory is better than a bad pen, a record.

Operating system: Windows 7

MyEclipse2015

JDK1.7

Maven download link, click here to download apache-maven-3.0.4-bin.tar.gz.

After the download is done, unzip it, my directory is D:\apache-maven-3.0.4.

Next, start configuring environment variables.

1 System variables: maven_home=d:\apache-maven-3.0.42 user variable: path=%maven_home%\bin

configured as well.

Path and Maven_home.

The cmd input command is then opened.

1 mvn-version

After the correct installation, the output is as shown.

Now start setting up MAVEN's local warehouse location and open the./conf/settings.xml

Locate the localrepository tag, plus a line setting, as shown in the red line for the increased setting.

This means that I have built MAVEN's local repository in the D:\MAVEN_REPOSITORY folder.

Associate maven with MyEclipse as follows.

First open the MyEclipse.

Select Window>>preperences>>maven4myeclipse.

Select then click Installations, configure the installation path of MAVEN, the original embedded is the default, set as well.

Next load the configuration information, click on User Settings, select the user Settings browse button, load the MAVEN path, such as.

All right, record it.

Maven also needs to download some dependent files, execute the following command in CMD

1 mvn Help:sys

The download is complete below.

Dedicated to the improvement of the Operation manual.

MyEclipse installation of Maven

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.