Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-2364

Cannot resolve org.eclipse.m2e.jdt when installing build-helper-maven-plugin

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • 5.0.2.GA
    • 5.0.0.GA, 5.0.1.GA
    • installer, maven, updatesite
    • None
    • Hide
      An issue arises when importing existing Maven projects. The m2e connector for build-helper-maven-plugin is required but installation fails due to an unsatisfied dependency for org.eclipse.m2e.jdt, which requires version [1.1.0, 2.0.0) when only 1.0.x is available. This issue remains unresolved but users can work around it by using JBoss Developer Studio 6.
      Show
      An issue arises when importing existing Maven projects. The m2e connector for build-helper-maven-plugin is required but installation fails due to an unsatisfied dependency for org.eclipse.m2e.jdt, which requires version [1.1.0, 2.0.0) when only 1.0.x is available. This issue remains unresolved but users can work around it by using JBoss Developer Studio 6.
    • Documented as Known Issue

      Steps to reproduce:

      1. Clone git://github.com/jbossas/jboss-as.git somewhere
      2. File -> Import -> Existing maven project
      3. Select <jboss_git_checkout>/cmp/pom.xml and try to import
      4. build-helper-maven-plugin will be required - try to have it resolved
      5. build-helper-maven-plugin will fail on dependencies - cannot satisfy org.eclipse.m2e.jdt

      When you try to import for example the cmp project from as7 (git://github.com/jbossas/jboss-as.git) you will need to install build-helper-maven-plugin. But that will fail because of unsatisfied dependency for org.eclipse.m2e.jdt .

      The problem is that org.eclipse.m2e.jdt is available, but only in version 1.0.x whereas the required version is [1.1.0,2.0.0).

      This is the error message:

      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.201207090124 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201207090124)
        Missing requirement: m2e connector for build-helper-maven-plugin 0.15.0.201207090124 (org.sonatype.m2e.buildhelper 0.15.0.201207090124) requires 'bundle org.eclipse.m2e.jdt [1.1.0,2.0.0)' but it could not be found
        Cannot satisfy dependency:
          From: m2e connector for build-helper-maven-plugin 0.15.0.201207090124 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201207090124)
          To: org.sonatype.m2e.buildhelper [0.15.0.201207090124]
      

            nickboldt Nick Boldt
            exd-mmalina Martin Malina
            Michelle Murray Michelle Murray (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: