Eclipse Java EE IDE for WEB developers integrated maven 3 points to your own installed Maven

Source: Internet
Author: User

I. Configuring the MAVEN Environment

1. Download the Apache-maven file, select the version you need, address: Apache official is http://maven.apache.org/download.cgi

2. Download and file, I extract to: D:\xxmp\apache-maven-3.2.2

3. Configure MAVEN Environment variables

A. maven_home:d:\xxmp\apache-maven-3.2.2

B.path:%maven_home%\bin;

4. Enter Mvn-v in CMD, if the following information appears, indicating that the configuration was successful.

It shows the Java configuration environment and the MAVEN configuration environment

Two. Modifying the Maven warehouse path

To open the settings.xml in the Conf file in the Maven 3 installation directory of step 2nd, add the localrepository tag under the Settings tab as follows:

<localRepository> d:/xxmp/apache-maven-3.2.2/libtools</localrepository>

Note: The d:/xxmp/apache-maven-3.2.2/libtools here is the absolute path to your local library.

Three. Finally eclipse maven configuration

The latest version of Eclipse has built-in MAVEN support, and we just need to point it to the MAVEN 3 we just installed. Eclipse->window->preferences->maven->installations->add ... Specifies the Maven directory that is installed. The User settings-> then specifies the Maven configuration file settings.xml.

At this point, the Eclipse built-in Maven plugin points to our self-installing MAVEN has been configured, you can right-click the new MAVEN 3 project in the package Explorer view

Excerpt from: http://blog.csdn.net/userrefister/article/details/47701775

Eclipse Java EE IDE for WEB developers integrated maven 3 points to your own installed 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.