Required to render WMF/EMF images. The OSGi bundle is provided by ServiceMix and available in Maven Central: https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.batik/1.14_1
The Bundle Maven Plugin performs a thorough inspection of the dependencies on external packages and by default includes them all in the <Import-Package> section.
Transitive dependencies from XML Beans not required by POI:
- !com.github.javaparser.*,
- !org.apache.tools.ant.*
Optional codecs pulled by Commons-Compress. Not used by POI
- !com.github.luben.zstd.*,
- !org.tukaani.xz.*,
- !org.brotli.dec.*,
Internal APIs which are no more in JPMS
- !sun.misc.*
## Integration Testing
The project tests the bundle using the Pax Exam framework which executes junit tests within an OSGi container started by Maven. The current version uses the Apache Felix driver but the framework should not matter, same tests will pass with the Karaf or Equinox drivers.
When running integration tests Maven starts a bare Apache Felix OSGi container, deploys the POI bundle and runs a few simple tests to validate the code is working fine, e.g. create a spreadsheet, serialize it to a byte array and read back.