Thursday, July 02, 2009

Installing m2eclipse in Eclipse 3.5

After newly installing Eclipse 3.5 (replacing my old Eclipse 3.3 install), when I tried to view a document with a Maven pom.xml file that I’d previously had open in my workspace, I got an error:

Could not open the editor: No editor descriptor for id org.maven.ide.eclipse.editor.MavenPomEditor

The fix was to install m2eclipse (the Maven plugin for Eclipse). I did this in Eclipse 3.5 as follows:

  • Help | Install New Software
  • In the "Install" dialog: click the Add button
  • In the "Add Site" dialog:
    • Name: m2eclipse
    • Location: http://m2eclipse.sonatype.org/update/
  • Click OK
  • Back in the "Install" dialog, in the "Add Site" dropdown, select: m2eclipse
  • Under "Maven Integration", I checked:
    • "Maven Integration for Eclipse (Required)"
    • "Maven POM Editor (Optional)"
    • "Maven POM XML Editor (Optional)"
  • Click Next, go through and complete the Install wizard.
  • When prompted, I restarted Eclipse.

That got my Maven POM editor up and running in Eclipse 3.5.

8 comments:

  1. Hey bud....

    Love to see you are loving the Eclipse....

    I just recently built a version of eclipse with my favorite plugins... those include:

    EasyShell
    Eclemma
    SpringIDE
    m2Eclipse
    Subversive

    let me know if you are interested....

    :)

    ReplyDelete
  2. Carlus, sure! I'd certainly be up for taking a look. Thanks!

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. URL for "maven 2 for eclipce" update's site is http://m2eclipse.sonatype.org/sites/m2e/

    ReplyDelete
  5. Got this issue with this and a number of other plugins, using the Eclipse 3.5.x that ships with Ubuntu 10.04 LTS 64-bit ... any ideas?

    An error occurred while collecting items to be installed
    session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: osgi.bundle,javax.xml,1.3.4.v201005080400
    No repository found containing: osgi.bundle,org.apache.xerces,2.9.0.v201005080400
    No repository found containing: osgi.bundle,org.apache.xml.resolver,1.2.0.v201005080400
    No repository found containing: osgi.bundle,org.apache.xml.serializer,2.7.1.v201005080400

    ReplyDelete
  6. If you are seriously scratching your head to get the answer to this question, then your wait is over. NO, all tech support providers are not faker..Techwitty

    ReplyDelete
  7. When it comes to using GPS phone tracking app, it is important that the signal strength of the device should not be weak to reap the benefits thereof. http://www.iphonetrackingapps.com/can-someone-hack-into-my-imessages-from-another-iphone/

    ReplyDelete
  8. The biggest benefit of online computer technical assistance is you can acquire services anytime from any corner of the world and you need not to face work loss due to technical errors. Darknet Market

    ReplyDelete