While running our Jenkins build to update out development packages, we get the following error:
Software to be resolved has different definitions for the same ID + version pair; this breaks the deterministic nature of provisioning and resolution can not proceed. Problematic IUs: [org.eclipse.equinox.p2.core.feature.feature.group_1.5.0.v20180515-1348]
Unable to promote 1 packages:
I believe this may be because it is trying to promote the plugin org.eclipse.equinox.p2.core which is version 2.5.0 and the feature org.eclipse.equinox.p2.core.feature v 1.5.0. Does the software not recognize the .feature at the end of the feature or does it just ignore? Could the problem be something entirely different?
I’ll add that the org.eclipse.equinox.p2.core.feature contains the plugin org.eclipse.equinox.p2.core. Simply removing that feature is not enough since there are other features that import the equinox.p2.core feature and removing all of them causes major dependency issues so we would like to not have to do that.
The root of this problem is because there are two update sites on the resolution of your package that are providing the Installable unit org.eclipse.equinox.p2.core.feature.feature.group but both with different version. SDC is warning about a resolution with 2 different versions of this feature. There is a way to configure the page to ignore this warning and continue with promotion.
1. Close your Admin Console.
2. Find the package.xml of the package with the resolution problem
4. Add the following property