Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5977

Immediately deliver automatic resolution warning when finding imacting resolution issues

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Resolver
    • None

    Description

      Starting our project took multiple minutes and we asked for advice on the osg-dev forum, but only found out what was happening after activating full tracing, which then provided the needed information.

      It was suggested to open this issue so that messages of this nature should always be automatically reported without the need for tracing to be enabled.

      Here is an example of what we got:

      Apache Felix Declarative Services (2.0.10.v20170501-2007)

      RESOLVER: Candidate permutation failed due to a conflict between imports; will try another if possible. (Uses constraint violation. Unable to resolve resource org.eclipse.sirius.common.acceleo.mtl [osgi.identity; osgi.identity="org.eclipse.sirius.common.acceleo.mtl"; type="osgi.bundle"; version:Version="2.0.0.qualifier"; singleton:="true"] because it is exposed to package 'com.google.common.base' from resources com.google.guava [osgi.identity; osgi.identity="com.google.guava"; type="osgi.bundle"; version:Version="25.1.0.jre"] and com.google.guava [osgi.identity; osgi.identity="com.google.guava"; type="osgi.bundle"; version:Version="21.0.0.v20170206-1425"] via two dependency chains.

          Chain 1:
            org.eclipse.sirius.common.acceleo.mtl [osgi.identity; osgi.identity="org.eclipse.sirius.common.acceleo.mtl"; type="osgi.bundle"; version:Version="2.0.0.qualifier"; singleton:="true"]
              require: (&(osgi.wiring.bundle=com.google.guava)(bundle-version>=21.0.0))
               |
              provide: osgi.wiring.bundle: com.google.guava
            com.google.guava [osgi.identity; osgi.identity="com.google.guava"; type="osgi.bundle"; version:Version="25.1.0.jre"]

          Chain 2:
            org.eclipse.sirius.common.acceleo.mtl [osgi.identity; osgi.identity="org.eclipse.sirius.common.acceleo.mtl"; type="osgi.bundle"; version:Version="2.0.0.qualifier"; singleton:="true"]
              require: (&(osgi.wiring.bundle=org.eclipse.acceleo.engine)(bundle-version>=3.4.1))
               |
              provide: osgi.wiring.bundle; bundle-version:Version="3.7.1.201705121344"; osgi.wiring.bundle="org.eclipse.acceleo.engine"; singleton:="true"
            org.eclipse.acceleo.engine [osgi.identity; osgi.identity="org.eclipse.acceleo.engine"; type="osgi.bundle"; version:Version="3.7.1.201705121344"; singleton:="true"]
              import: (&(osgi.wiring.package=com.google.common.collect)(&(version>=15.0.0)(!(version>=22.0.0))))
               |
              export: osgi.wiring.package=com.google.common.collect; uses:=com.google.common.base
            com.google.guava [osgi.identity; osgi.identity="com.google.guava"; type="osgi.bundle"; version:Version="21.0.0.v20170206-1425"]
              import: (&(osgi.wiring.package=com.google.common.base)(&(version>=21.0.0)(!(version>=22.0.0))))
               |
              export: osgi.wiring.package: com.google.common.base
            com.google.guava [osgi.identity; osgi.identity="com.google.guava"; type="osgi.bundle"; version:Version="21.0.0.v20170206-1425"])

      Attachments

        Activity

          People

            Unassigned Unassigned
            alpic80 Alain Picard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: