jackson-core 2.14.0-rc2 requires OSGi bnd artefacts
See original GitHub issueHi,
The Spring Framework is trying to upgrade to Jackson 2.14.0, so that we can set it as our baseline for the upcoming 6.0.x branch, and use the ByteBufferFeeder
introduced through #478 (thanks!). Unfortunately, when upgrading from 2.13.4 to 2.14.0-rc2 we run into the following warning:
/Users/arjen/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.14.0-rc2/16f52b48723470c8e8a7f8f3fe80c5093eb3e9c3/jackson-core-2.14.0-rc2.jar(/com/fasterxml/jackson/core/JsonFactory.class):
warning: Cannot find annotation method 'value()' in type 'ServiceProvider': class file for aQute.bnd.annotation.spi.ServiceProvider not found
(line break added for clarity)
Because we use -Werror
during compilation, this warning breaks our build. Of course, it can be resolved by adding dependencies to the class path (specifically biz.aQute.bnd:biz.aQute.bnd.annotation
and org.osgi:osgi.annotation
), or by changing our build to ignore this specific warning.
I still thought it wise to make you aware of this warning, as I am hoping that there is something that can be done, and users can use Jackson 2.14 without getting warnings about missing OSGi artefacts.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
I can confirm that this is fixed in 2.14.0-rc3. Thanks!
OSGi annotation changes reverted.