Maven Study Notes (2) install Eclipse plug-in (m2eclipse)

Source: Internet
Author: User
Tags sonatype
For Versions later than Eclipse3.5, we recommend that you install the plug-in named dropions. For plug-ins, see eclipsedropinsresourcebundleeditorfeaturespluginsm.

How to install Eclipse plug-ins on how to install Eclipse plug-ins can refer to the http://www.blogjava.net/wealupa/archive/2010/09/09/331493.html Eclipse3.5 and later versions of the recommended use dropions install plug-in name differentiate installation plug-ins eclipse/dropins/resourcebundleeditor/features/plugins/m

  • How to install Eclipse plug-in

For how to install Eclipse plug-ins, refer to the http://www.blogjava.net/wealupa/archive/2010/09/09/331493.html

For Versions later than Eclipse3.5, we recommend that you install the plug-in dropions by name.

eclipse/           dropins/                resourcebundleeditor/                     features/                     plugins/                               m2eclipse/                     features/                     plugins/
  • Download and install the m2eclipse plug-in

M2eclipse is a plug-in developed by Sonatype. its official website is http://m2eclipse.sonatype.org /.

Make a small summary of the installation of the m2eclipse plug-in:

So far () Sonatype claimed to have been handed over to Eclipse. The official website address of the plug-in Versions later than 1.0 is http://eclipse.org/m2e/, which is http://download.eclipse.org/policy/m2e/releases/

So I went to the eclipse official website to search for the plug-in, but opened the above address and found that the address has expired, and the Eclipse official website said that the plug-in is not compatible with Eclipse3.6 and 3.7.

Fortunately, Sonatype still provides version 0.12 and extensions.

For problems encountered during plug-in installation, refer to the http://hi.baidu.com/xuemin_q/blog/item/597b918ea7d98cf5513d92da.html

Currently, this plug-in is directly installed using the eclipse-jee-indigo-SR1 version, without any problems.

  • Eclipse configuration after installation
  1. Configure the locally specified maven
    Since the m2eclipse plug-in has embedded maven, the embedded maven version is used by default after installation. You can change maven to a specified local version through configuration.
    Window-> Perference-> Maven-> Installations --> click Add to select the local maven root directory, and check the newly added configuration.
  2. Configure the Java environment running Eclipse
    Eclipse runs on jre by default, while some m2eclipse functions require jdk support, so you need to modify the eclipse configuration. Modify the Eclipse. ini configuration file in the eclipse installation path and add the following configuration before-vmargs:
    -vmD:\Program Files\Java\jdk1.7.0\bin\javaw.exe-vmargs......

    Modify the Installed JREs of Eclispe:
    Window-> Perference-> Java-> Installed JREs-> | Add-> Standard VM-> Next and select the jre path in jdk
    D:\Program Files\Java\jdk1.7.0\jre
    Window-> Perference-> Java-> Installed JREs-> Execlution Eveiroments: Use the configured jre

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.