Installing the M2Eclipse Plugin
Installation
Please note that the way how to install plugins differs from each version of Eclipse to the next one. The following description is for Eclipse 3.5.
- In Eclipse, select the menu "Help > Install New Software".
- Enter the following Update Site:
http://m2eclipse.sonatype.org/sites/m2e
- Select the following item to be installed, then do the installation:
- Maven Integration for Eclipse

- After the installation, restart Eclipse.
Verification
To make sure the plugin was correctly installed, create a new project using menu "File > New > Project...". There should be a new section "Maven" with several options in it to create Projects based on Maven. Select the option "New Maven Project" and click "Next".
If a warning appears "Maven Integration for Eclipse JDK Warning", you have to configure Eclipse to run on a JDK.
If no warning appears, you're installation/configuration should be complete.
Click "Cancel" to leave the "New Maven Project" dialog.
Discussion
- m2Eclipse 0.10.0 and earlier had a nice integration with SVN/Subclipse. In 0.12.0, this is no longer supported and "Checkout Maven Projects from SCM" no longer works.
- Problems with resource loading (reported by Konrad Meister)
I had problems running my playground tests on my desktop with the following setup:
- Ubuntu 10.04
- Eclipse 3.5.2 Build-Id: M20100211-1343
- m2Eclipse 0.10.0-20100209-0800
Some tests crashed with the error that a resource file from the matsim project could not be found. There are several bug-reports for m2eclipse concerned with resource loading, including correct builder settings (Maven Builder instead of Java Builder) and "**"-excludes for resource directories. I was not able to recover the problem. The tests run successfully on setups with an older version of m2eclipse (0.9.8). I decided to use this version. It can be installed in Eclipse using a different update site URL than indicated above:
http://m2eclipse.sonatype.org/sites/archives/0.9.8.200905041413/
which downloads the latest release of m2eclipse 0.9.8. As for the other desktops I tested, my playground runs work again.