Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed maven and eclipse using the software center in Ubuntu 12.04.

There is no sign of maven integration in Eclipse. ("new Maven project" and such)

What is the correct way to install? (to get maven eclipse integration)

share|improve this question

2 Answers 2

up vote 12 down vote accepted

In addition to installing the maven package and the eclipse package, and all their dependencies, you need to install the m2e extension. The best way to do this is using the Eclipse Marketplace, but the marketplace is not installed by default in the Ubuntu package.

Install the Eclipse Marketplace

  1. Open Eclipse, go to Help -> Install New Software...
  2. Select All Available Sites in the Work with dropdown menu.
  3. Wait for the list of software to populate; sometimes it takes a very long time.
  4. Expand the General Purpose Tools group, and tick Marketplace Client.
  5. Click Next, and again, accept the terms and conditions and click Finish.

This will install the marketplace. You will need to restart Eclipse for the change to take effect.

Install m2e

  1. Open Eclipse, go to Help -> Eclipse Marketplace...
  2. Wait for it to finish loading.
  3. Enter "maven" in the search box and press return.
  4. Click the Install button next to Maven Integration for Eclipse by Eclipse.org (NB: there is a similar item above called "Maven Integration for Eclipse WTP" by Red Hat, Inc; this is not the correct one).

Again, you will need to restart Eclipse for this to take effect.

share|improve this answer
There was no Help -> Eclipse Marketplace in my installation. I went to Help -> Install New Software... and added the repository m2eclipse.sonatype.org/sites/m2e I did get maven integration to the menus. I'll report if I encounter any obvious problems. –  Eero Aaltonen May 24 '12 at 14:01
Sorry, I did not notice that the marketplace is not installed by default. I have updated my answer to explain how to do this starting from the default Eclipse package. Although an additional step, installing the marketplace is beneficial anyway and avoids having to manually add extra repositories. –  David Edwards May 25 '12 at 13:00
Okay, looks good now. Flagged as accepted. –  Eero Aaltonen Jun 29 '12 at 10:51

This is a tutorial How to Install Maven into eclipse (2 Way)


share|improve this answer
Please do not post just a link. Try to summarize and present the contents so that if the link becomes unavailable your answer will still be valid and helpful. –  hmayag May 17 '14 at 8:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.