-
Notifications
You must be signed in to change notification settings - Fork 55
Defect wrt guava OSGi dependency version specified #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@jpstotz I created #161 for attempting to fix the issue -- I think the earlier logic must have worked with earlier Guava versions (23 and under) before |
Based on your PR the OSGi version range will end up as jackson-datatype-guava defines these imports in it's MANIFEST.MF (
Looking at MANIFEST.MF of guava-25.1-jre we see it exports (
Therefore I would also use this exact version string |
I can change the version ref to, say, 25.1.0. But using a single version instead of range seems problematic as most users would want to use something much more recent than 25.x -- the whole idea is that module should support a wide range of versions. |
The MANIFEST.MF of
com.fasterxml.jackson.datatype:jackson-datatype-guava:2.17.2
defines as dependency for example:com.google.common.base;version="[25.1.0.jre0,99)"
This means the minimum version is
25.1.0.jre0
and the maximum version 99.The problem is that guava has no version
25.1.0.jre0
only maven version25.1-jre
(which has the OSGI version25.1.0.jre
) .Therefore the whole library can not be used in an OSGi environment as it is impossible to satisfy it's version requirements.
The text was updated successfully, but these errors were encountered: