Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

OSGi import package(s?) missing in 2.7.0 #87

Closed
mjameson-se opened this issue Jan 19, 2016 · 4 comments
Closed

OSGi import package(s?) missing in 2.7.0 #87

mjameson-se opened this issue Jan 19, 2016 · 4 comments
Milestone

Comments

@mjameson-se
Copy link
Contributor

Trying to upgrade to 2.7.0 jackson-datatype-guava, I'm getting exceptions "Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonInclude$Value". It looks like the import statement for that package is missing

Currently, I'm using a hacked up version of 2.6.2 using bnd to rewrite the manifest because that one was also missing entries.

@cowtowncoder
Copy link
Member

Thank you for reporting this. Will fix for 2.7.1.

@cowtowncoder cowtowncoder added this to the 2.7.1 milestone Jan 20, 2016
@cowtowncoder
Copy link
Member

Added OSGi import, should work now. It's unfortunate that explicit inclusion directive is needed, unlike with most other components, to support wider version range for Guava. Would also be great if there was an automated way to verify completeness of inclusion.

@mjameson-se
Copy link
Contributor Author

For what its worth, bnd is capable of doing what you really want. I'm not familiar enough with the maven plugin you're using that wraps bnd to know if it is possible to do it through that or how to do so, but I've done it in different projects using bndtools and gradle respectively.

@cowtowncoder
Copy link
Member

@mjameson-se Yes, I know, as I said other modules do that. I am just not sure if automatic calculation can be combined with alternative version range modifiers. Or, rather, how to change; quite possibly it is possible. If anyone knows how to do that, would love to improve setup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants