Install Maven2Eclipse (m2e) Plugin (optional) - 8.0

Talend ESB Development Guide

Version
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Last publication date
2024-03-13

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.