MAVEN's Learning data collection-(ii) installing the M2eclipse plugin

Source: Internet
Author: User

The Maven plugin can be installed in eclipse to make it easier to use:

Website address: http://www.eclipse.org/m2e/

can be installed online or offline download, before the online installation always failed, may be the reason for the speed, found an offline package, can be installed by link.

Offline Package: http://download.csdn.net/detail/jolingogo/5253225

Online installation will not say, link way words:

1. Extract the offline package to a directory, such as: D:\\m2eclipse

2. Under the Eclipse root directory, there is a Dropins folder, create a new Maven.link file under the Dropins folder

3. Edit the file and enter: "Path=d:\\m2eclipse", which is the unpacked directory of the offline package

4. Restart Eclipse

Problems you may encounter:

1. After installation, the following warning appears:

The MAVEN integration requires that Eclipse is running in a JDK, because a number of Maven core plugins is using jars fro M the JDK.

Sure THE-VM option in Eclipse.ini was pointing to a JDK and verify that installed JRE's is also using JDK ins talls.

Workaround:

1. Modify the Java environment using the JDK:

Here, select a JDK

2. Modify Eclipse Startup

Open the Eclipse.ini file under Eclipse root

Add two lines of configuration at the top,

Restart Eclipse and you're ready.

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.