You are previewing Maven: The Definitive Guide.

Maven: The Definitive Guide

Cover of Maven: The Definitive Guide by Sonatype Company Published by O'Reilly Media, Inc.

Installing the m2eclipse Plugin

To install the m2Eclipse plugin, you need to install some prerequisites. You need to be running Eclipse 3.2 or higher, JDK 1.4 or higher, and you also need to make sure that Eclipse is running on a JDK, not a JRE. Once you have Eclipse and a compatible JDK, you need to install two Eclipse plugins: Subclipse and Mylyn.

Installing Prerequisites

You can install these prerequisites when you install m2eclipse; just add a new remote update site to Eclipse for each of the prerequisite components. To do so, go to HelpSoftware UpdatesFind and Install.... Selecting this menu item will load the Install/Update dialog box. Choose the “Search for new features to install” option and click Next. You will then be presented with a list of “Update sites to visit.” Click New Remote Site..., and add a new update site for each new prerequisite. Add a new remote site for each plugin, and then make sure that the remote site is selected. After you click Finish, Eclipse will ask you to select plugins components to install. Select the components you want to install, and Eclipse will download, install, and configure your plugins.

Note that if you are using a recent build of Eclipse 3.4 (Ganymede; see, your plugin installation experience may be slightly different. In Ganymede, you will select HelpSoftware Updates..., which will load the “Software Updates and Add-ons” dialog. In this dialog, choose the Available Software panel and click on ...

The best content for your career. Discover unlimited learning on demand for around $1/day.