Eclipse Online integration Maven M2eclipse plugin

Source: Internet
Author: User

First, the version:

eclipse:3.6

maven:3.0.4, if you don't know how to install maven locally, see my other article: Installing MAVEN under Windows

Talk less, direct steps are good:

1. Open Eclipse, click Help on the menu bar, select installnew softwore, such as:

2. Click Add

3. Add content to the dialog box:

LOCATION:HTTP://M2ECLIPSE.SONATYPE.ORG/SITES/M2E This is maven 's installation address.

Because my eclipse has maven installed , it will prompt for duplicate addresses. Let's not bother. If you don't have maven, you won't get this hint, then click OK

4. The following will start downloading on the website: after downloading, the contents of the red box will be selected.

5. To this step, just click Next

6. Select Accept License and select Finish

7. Restart Eclipse.

8. See If MAVEN is installed successfully: Click window-preferences, and you will find a more maven option. Click the plus sign to expand the maven tree.

9. Configure the appropriate node for the MAVEN plugin

Installations: This node uses the built-in MAVEN by default, we need to use our installed maven, point "Add", add a maven that we externally install, note that after adding it, tick on , and finally select Apply.

User Settings: The default is the . m2/settings.xml file in the C-drive user directory , where you configure the externally installed maven-used configuration file, as I am using the maven directory (which can be Maven installation directory, or not) under the conf/settings.xml file, select Do not forget to click on the "updatesettings" button below.

With the above steps, theeclipse configuration maven plugin is complete.

You can then import the MAVEN project.

Eclipse Online integration Maven M2eclipse plugin

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.