[jbosstools-issues] [JBoss JIRA] (JBIDE-12884) Cannot resolve org.eclipse.m2e.jdt when installing build-helper-maven-plugin

Fred Bricon (JIRA) jira-events at lists.jboss.org
Wed Oct 17 05:55:01 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727136#comment-12727136 ] 

Fred Bricon commented on JBIDE-12884:
-------------------------------------

ok my bad this is not m2e per se, but extra m2e connectors.
So we'd need to add m2e 1.1.0 (m2e 1.2.0 is incompatible to some version range restrictions) to the update site.

Unfortunately, seems we can't update to m2e 1.1.0 directly from http://download.eclipse.org/technology/m2e/releases/1.1 because of our own jbds m2e feature :
{noformat}
Your original request has been modified.
  "m2e - Maven Integration for Eclipse" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: m2e - Maven Integration for Eclipse 1.1.0.20120530-0009 (org.eclipse.m2e.feature.feature.group 1.1.0.20120530-0009)
  Software currently installed: JBoss Developer Studio (Branded Product) 5.0.1.v20120715-0533-H232-GA (com.jboss.jbds.all 5.0.1.v20120715-0533-H232-GA)
  Only one of the following can be installed at once: 
    Maven Archetype Common Bundle 1.0.200.20111228-1245 (org.eclipse.m2e.archetype.common 1.0.200.20111228-1245)
    Maven Archetype Common Bundle 1.1.0.20120529-1956 (org.eclipse.m2e.archetype.common 1.1.0.20120529-1956)
  Cannot satisfy dependency:
    From: JBoss Developer Studio (Branded Product) 5.0.1.v20120715-0533-H232-GA (com.jboss.jbds.all 5.0.1.v20120715-0533-H232-GA)
    To: com.jboss.jbds.product.feature.feature.group [5.0.1.v20120715-0533-H232-GA]
  Cannot satisfy dependency:
    From: Maven Integration (Selected) 1.1.0.v20120715-0533-H232-GA (com.jboss.jbds.m2e.feature.feature.group 1.1.0.v20120715-0533-H232-GA)
    To: org.eclipse.m2e.archetype.common [1.0.200.20111228-1245]
  Cannot satisfy dependency:
    From: JBoss Developer Studio (Core Features) 5.0.1.v20120715-0533-H232-GA (com.jboss.jbds.product.feature.feature.group 5.0.1.v20120715-0533-H232-GA)
    To: com.jboss.jbds.m2e.feature.feature.group [1.1.0.v20120715-0533-H232-GA]
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse 1.1.0.20120530-0009 (org.eclipse.m2e.feature.feature.group 1.1.0.20120530-0009)
    To: org.eclipse.m2e.archetype.common [1.1.0.20120529-1956]
{noformat}

@[~nickboldt] any advice on how to proceed?
                
> Cannot resolve org.eclipse.m2e.jdt when installing build-helper-maven-plugin
> ----------------------------------------------------------------------------
>
>                 Key: JBIDE-12884
>                 URL: https://issues.jboss.org/browse/JBIDE-12884
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 3.3.1
>            Reporter: Martin Malina
>            Assignee: Fred Bricon
>             Fix For: 3.3.2
>
>         Attachments: install-error.png
>
>
> 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:
> {code}
> 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]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list