Skip to main content

Install Maven2Eclipse (m2e) Plugin (optional)

Maven commands such as mvn clean install (to build projects) and mvn eclipse:eclipse (to create Eclipse projects from them) can easily be run from a command line window, leaving Eclipse just for software code editing.

However, many prefer running Maven commands in a graphical fashion within Eclipse for which the m2e plugin was created. Talend Studio already includes this plugin. Otherwise, for your own Eclipse IDE, an easy way to install m2e is using the Eclipse Marketplace, available from the Eclipse menu item Help | Eclipse Marketplace... after you start the IDE. Once the Marketplace popup window appears, search for m2e and select Maven Integration for Eclipse. Then choose install and restart your IDE. m2e can be seen by selecting File > New > Other:

By default, the Eclipse's embedded Maven is used. However, it is recommended to use the external Maven you downloaded and installed in the previous step. Open the main menu Window > Preferences and go to Maven > Installations to change the default setting:

Click Add, specify the path where you installed Maven, and click OK.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!