Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342385 - Conflicting dependency on update
Summary: Conflicting dependency on update
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-10 18:22 EDT by Konrad Windszus CLA
Modified: 2021-04-19 13:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konrad Windszus CLA 2011-04-10 18:22:20 EDT
When I tried to update m2e to the latest 0.13 nightly version I get the following error from Eclipse:
Cannot complete the install because of a conflicting dependency.
  Software being installed: m2e - Maven Integration for Eclipse (Incubation) 0.13.0.201104090003 (org.eclipse.m2e.feature.feature.group 0.13.0.201104090003)
  Software currently installed: Maven SCM Handler for Subversive 0.13.0.201102141719 (org.sonatype.m2e.subversive.feature.feature.group 0.13.0.201102141719)
  Only one of the following can be installed at once: 
    Maven Integration for Eclipse 0.13.0.201104011605 (org.eclipse.m2e.core.ui 0.13.0.201104011605)
    Maven Integration for Eclipse 0.14.0.201103241508 (org.eclipse.m2e.core.ui 0.14.0.201103241508)
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse (Incubation) 0.13.0.201104090003 (org.eclipse.m2e.feature.feature.group 0.13.0.201104090003)
    To: org.eclipse.m2e.core.ui [0.14.0.201103241508]
  Cannot satisfy dependency:
    From: SCM Maven Integration for Eclipse 0.13.0.201104011605 (org.eclipse.m2e.scm 0.13.0.201104011605)
    To: bundle org.eclipse.m2e.core.ui [0.13.0,0.14.0)
  Cannot satisfy dependency:
    From: Maven SCM Handler for Subversive 0.13.0.201102141719 (org.sonatype.m2e.subversive 0.13.0.201102141719)
    To: bundle org.eclipse.m2e.scm [0.13.0,0.14.0)
  Cannot satisfy dependency:
    From: Maven SCM Handler for Subversive 0.13.0.201102141719 (org.sonatype.m2e.subversive.feature.feature.group 0.13.0.201102141719)
    To: org.sonatype.m2e.subversive [0.13.0.201102141719]

Seems that the feature still has an invalid dependency to the 0.14 version.
Comment 1 Matthew Piggott CLA 2011-04-11 10:09:35 EDT
I don't see anything wrong with the dependencies, if you have m2e 0.14 installed try removing it first.
Comment 2 Konrad Windszus CLA 2011-04-12 02:20:41 EDT
After uninstalling all m2e plugins reinstallation went well, but still the latest nightly build from the eclipse update site contains a 0.14 version from Maven Integration for Eclipse - slf4j over logback logging (Optional) (org.eclipse.m2e.logback.feature.feature.group, 0.14.0.201103241508). Also the m2e marketplace does not work. 

The error log says:

org.eclipse.core.runtime.CoreException: IO failure: cannot load discovery directory
at org.eclipse.equinox.internal.p2.discovery.compatibility.RemoteBundleDiscoveryStrategy.performDiscovery(RemoteBundleDiscoveryStrategy.java:96)
at org.eclipse.equinox.internal.p2.discovery.Catalog.performDiscovery(Catalog.java:85)
at org.eclipse.m2e.internal.discovery.wizards.MavenCatalogViewer$2.run(MavenCatalogViewer.java:164)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.io.FileNotFoundException: http://download.eclipse.org/technology/m2e/discovery/0.14.0/directory.xml
at org.eclipse.equinox.internal.p2.repository.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:295)
at org.eclipse.equinox.internal.p2.repository.FileInfoReader.checkException(FileInfoReader.java:218)
at org.eclipse.equinox.internal.p2.repository.FileInfoReader.getRemoteFiles(FileInfoReader.java:110)
at org.eclipse.equinox.internal.p2.repository.FileInfoReader.getRemoteFile(FileInfoReader.java:123)
at org.eclipse.equinox.internal.p2.repository.FileInfoReader.getLastModified(FileInfoReader.java:128)
at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.getLastModified(RepositoryTransport.java:224)
at org.eclipse.equinox.internal.p2.discovery.compatibility.util.CacheManager.createCache(CacheManager.java:101)
at org.eclipse.equinox.internal.p2.discovery.compatibility.util.TransportUtil.readResource(TransportUtil.java:101)
at org.eclipse.equinox.internal.p2.discovery.compatibility.RemoteBundleDiscoveryStrategy.performDiscovery(RemoteBundleDiscoveryStrategy.java:81)
... 3 more

There seems to be the wrong version 0.14 still somewhere in the code.
Comment 3 Matthew Piggott CLA 2011-04-12 09:49:10 EDT
Looks like something odd has happened with the build, looking at the repositories from the last couple days we seem to have files from when we mistakenly bumped the version to 0.14 for some reason.   I'll take a look at this, in the mean time the most recent good build is available: https://repository.sonatype.org//content/sites/forge-sites/m2e/0.13.0/N/0.13.0.201104081709/
Comment 4 Matthew Piggott CLA 2011-04-13 09:59:19 EDT
The problem on the build machine was fixed.
Comment 5 Denis Roy CLA 2021-04-19 13:25:54 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/