can't install eclipse plugin "m2e connector for build-helper-maven-plugin 0.15.0.201109290002"

dermoritz picture dermoritz · Nov 21, 2011 · Viewed 32.6k times · Source

i just tried to move from helios to maven with my gwt 2.4 application. so i began to follow the steps here: http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven

but on step 3 - installing the feature "m2e connector for build-helper-maven-plugin" i get an error from Eclipse:

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e connector for build-helper-maven-plugin     0.15.0.201109290002 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109290002)
  Missing requirement: m2e connector for build-helper-maven-plugin 0.15.0.201109290002 (org.sonatype.m2e.buildhelper 0.15.0.201109290002) requires 'bundle org.eclipse.m2e.jdt [1.1.0,1.2.0)' but it could not be found
  Cannot satisfy dependency:
    From: m2e connector for build-helper-maven-plugin 0.15.0.201109290002 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109290002)
    To: org.sonatype.m2e.buildhelper [0.15.0.201109290002]

Is there a workaround for that or did I do something wrong?

Answer

apetrelli picture apetrelli · Nov 24, 2011

The problem is not the GWT Eclipse plugin but m2e, that currently is at 1.0.x version, and not 1.1.0 or higher as requested by the build-helper connector version 0.15. I suggest to install the build-helper connector later, and try to install the 0.14 version (that works on my machine). Use this repository: https://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.14.0/N/0.14.0.201109282148/

If you need an update site (e.g. because you are working with RAD and can only use an update site) there is a modified 0.15.0 update site definition: m2eclipse with 0.14.0 connector

To get it working do this:

  • Go to Help\Install new software\
  • Click on Add
  • Click on Local
  • Add the unzipped folder as location

In the selection choose the m2e connector for build-helper-maven-plugin in version 0.14.0.