How to use Apache POI in OSGi
问题 I want to use Apache POI in OSGi to write an Excel workbook with the streaming, OOXML API (SXSSF). The streaming API is available since POI 3.9. As the latest Apache POI 3.11 jars are not bundles: What's the best way to get POI working in OSGi? I tried two approaches: embed the jars directly in the only bundle which will be using them use POI jars prewrapped as bundles I am despairing in getting all dependencies together. First about embedding the POI jar in my bundle: my bndtools file