Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Version range specification for guava in OSGi #934
This PR changes jclouds' OSGi import directive for guava to allow version range [16.x-19.0]. This helps dependent projects mix jclouds with bundles using other guava versions within OSGi environments.
According to https://issues.apache.org/jira/browse/JCLOUDS-622 jclouds was made to use only guava classes that are compatible throughout guava versions, so this should be safe for the time being.
What are your thoughs on this? Is there better way to solve this package resolution problem?
P.S. The changes are based on the 1.9.x branch, because that's the version we use right now. I can port them to master if needed.
For reference, here is an analysis of guava's API compatibility across versions: http://upstream.rosalinux.ru/java/versions/guava.html