Eclipse Create local Maven

Source: Internet
Author: User

Download the MAVEN installation package and Maven's Eclipse plugin

Apache-maven-3.3.9-bin.zip

Eclipse-maven-plugin.zip

:http://pan.baidu.com/s/1mizzYR2

Ii. Setting the environment variables for MAVEN

  

  

Maven_home=d:\job\apache-maven-3.3.9path=%maven_home%\bin;

Third, see if MAVEN is installed successfully

Mvn-v

Note: The prerequisite for installing MAVEN is to install the JDK first

Iv. installation of the Maven plugin for Eclipse

Create a new Links folder under Eclipse's installation directory, as follows:

  

Create a new text file within the Links folder and rename it to Maven.link. Open Maven.link with a text editor and edit it to add the following:

Path=e:/setup/dev/eclipse/plugins/maven

V. Eclipse configuration

Open Eclipse (if Eclipse has started, restart it), find the menu Window--Preferences

If you can see the Maven tab, the plug-in installation is successful. Expand Menu Maven--installations, click Add on the right side of the panel ... button, the following dialog box pops up:

Click Directory ... button, in the Pop-up dialog box, select the root path of your Maven installation, as follows:

Select OK and click the OK button to return to the parent dialog box and click the Finish button. Go back to the main panel and don't forget to tick it, as follows:

  

Menu Maven--User Settings, click Browse on the right ... button, select the Settings.xml file under your Maven installation path in the Pop-up dialog box

Click the OK button, and the Eclipse Maven plugin installation configuration is complete. You can create MAVEN projects by right-to-------MAVEN project.

Eclipse Create local 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.