[ https://issues.apache.org/jira/browse/FELIX-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679539#comment-16679539 ]
Carsten Ziegeler commented on FELIX-5977: ----------------------------------------- [~alpic80] In how far is this related to SCR? This looks like a resolver / framework bug to me > Immediately deliver automatic resolution warning when finding imacting > resolution issues > ---------------------------------------------------------------------------------------- > > Key: FELIX-5977 > URL: https://issues.apache.org/jira/browse/FELIX-5977 > Project: Felix > Issue Type: Improvement > Components: Resolver > Affects Versions: scr-2.0.10 > Reporter: Alain Picard > Priority: Minor > > 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"]) -- This message was sent by Atlassian JIRA (v7.6.3#76005)