Eclipse Install Maven Plugin

Source: Internet
Author: User
Tags sonatype

First, eclipse 3.6.1 download address [eclipse-jee-helios-sr1-win32.zip]
Http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr1

Second, plug-in address
1.GEFPlugin Address:
http://download.eclipse.org/tools/gef/updates/interim/

2.SubclipsePlugin Address:
http://subclipse.tigris.org/update_1.6.x

3.Maven2Plugin Address:
M2eclipse-core Update site:http://m2eclipse.sonatype.org/sites/m2e
M2eclipse-extras Update Site:http://m2eclipse.sonatype.org/sites/m2e-extras
Note: Must have two plugins installed, not installedExtrasPlug-in, clicking "Run As Server" will cause an error when running the project: "The selected did not contain any resources and can run on server maven project"

Third, the installation of problems:
Direct online InstallationMaven2The dependency plugin could not be found and could not be installed. Must be installed firstGEFPlugin to installM2eclipse-corePlugins, however installedM2eclipse-extrasPlug-ins are also dependentSubclipsePlug - ins. Therefore, the correct installation order for three plugins is: GEF plugin subclipse plugin M2eclipse plugin.
M2eclipse-core plug-in-dependent-->GEF plug-in
M2eclipse-extras plug-in-dependent-->subclipse plug-in

After the installation is complete, start Eclipse and you will also see the following prompt:

After installing the M2eclipse plugin, restart eclipse always prompts:

Eclipse is running in a JRE, but a JDK is required

Some Maven plugins may isn't work when importing projects or updating source folders.

The-VM configuration item must be in front of the –vmargs configuration item because a default JVM has been selected for execution to the-vmargs configuration item.

So add this sentence in front of –vmargs:

-vm
D:/java/jdk1.6.0_10/bin/javaw.exe

OK, everything intact ...

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.