Configure Eclipse to use external maven

Source: Internet
Author: User

When you integrate MAVEN, Eclipse installs the last inline maven, which is usually newer, but not necessarily stable, and is often not the same as the one used by the command line. There are two potential problems: first, newer versions of Maven have a number of destabilizing factors that are prone to difficult-to-understand problems, and second, the command-line maven is often used in addition to the IDE, and if the versions are inconsistent, it is easy to create inconsistencies in the build behavior. Therefore, you should use Maven consistent with the command line when you configure the MAVEN plug-in in the IDE.

In the M2ECLIPSE environment,

  1. Window->preferences
  2. In the dialog box that pops up, expand the MAVEN item on the left, select the installation subkey
  3. In the right panel, click Add ... Add external Maven
  4. In the popup dialog box, select Installation home to
  5. Then click Finish to return to the Preferences dialog box and select the installation you just added as the default installation

Configure Eclipse to use external 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.