Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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?

like image 248
dermoritz Avatar asked Nov 21 '11 13:11

dermoritz


1 Answers

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.

like image 57
apetrelli Avatar answered Sep 19 '22 15:09

apetrelli