Hi Ryan,

can you try a refresh ?

What's your import in the rkmoquin.common bundle ?

Regards
JB

On 01/26/2018 03:40 PM, Ryan Moquin wrote:
> I keep running into situations where I get a uses constraint, but the 
> complaint
> is talking about an import and export chain that involve the exact same
> dependency, such as with Guava below... why is this a uses constraint and how 
> do
> you deal with it?
> 
> Error executing command: Uses constraint violation. Unable to resolve resource
> com.rkmoquin.common [com.rkmoquin.common/1.0.0.SNAPSHOT] because it is exposed
> to package 'com.google.common.base' from resources com.google.guava
> [com.google.guava/20.0.0] and com.google.guava [com.google.guava/20.0.0] via 
> two
> dependency chains.
> 
> Chain 1:
>   com.rkmoquin.common [com.rkmoquin.common/1.0.0.SNAPSHOT]
>     import:
> (&(osgi.wiring.package=com.google.common.base)(version>=20.0.0)(!(version>=21.0.0)))
>      |
>     export: osgi.wiring.package: com.google.common.base
>   com.google.guava [com.google.guava/20.0.0]
> 
> Chain 2:
>   com.rkmoquin.common [com.rkmoquin.common/1.0.0.SNAPSHOT]
>     import:
> (&(osgi.wiring.package=com.google.common.collect)(version>=20.0.0)(!(version>=21.0.0)))
>      |
>     export: osgi.wiring.package: com.google.common.collect;
> uses:=com.google.common.base
>     export: osgi.wiring.package=com.google.common.base
>   com.google.guava [com.google.guava/20.0.0]
> 
> Thanks for any help!
> Ryan

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to