OSGi support for dependencies
Spreadsheet has some dependencies that are not provided as OSGi bundles. One example is Apache POI, for which there is a bug open https://bz.apache.org/bugzilla/show_bug.cgi?id=57857. Also according to apache POI documentation, only versions > 3.16 can be used with OSGi
Therefore, although spreadsheet itself can be installed, it can not be used to create applications. Trying to deploy a portlet that depends on spreadsheet generates the following error:
Unresolved requirement: Import-Package: org.apache.poi
Since Spreadsheet is provided is an OSGi bundle, and therefore appears to work, I think it would make sense to either document that it is not supported or provide some kind of example of how it can be used.
https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi/3.15_1.jar is an osgi bundle that contains all the dependencies but when used with the spreadsheet jar has a problem which I have reported as an issue #645
I've done it myself. It took me 2-3 days approximately. Now I have spreadsheet 2.0.1 OSGi jar and use it on Liferay 7