https://bz.apache.org/bugzilla/show_bug.cgi?id=57857
--- Comment #8 from Yegor Kozlov <[email protected]> --- I updated the OSGi POM to work with 5.0.0-SNAPSHOT, see https://svn.apache.org/repos/asf/poi/trunk/osgi/ The POI bundle is self-contained and can be used out of the box in a bare OSGi container, i.e. no other bundles are required. The bundle exports all the POI classes, XML Beans, OOXML Schemas and required dependencies. The current size is around 21 MB. ## Embedded Dependencies The bundle embeds all the jars from lib/main: - SparseBitSet - curvesapi - commons-math3 - commons-compress - commons-collections4 - commons-codec ## Optional Dependencies 1. Apache Batik 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.13_1 2. Saxon Required if using as the XSLT and XQuery Processor engine in XML Beans. Available in Maven Central: https://mvnrepository.com/artifact/net.sf.saxon/saxon/8.9.0.4-osgi 3. Apache XML Security for Java, Bouncy Castle and XML Commons Resolver These are required to sign or validate signed Office documents. The OSGi bundles are available in Maven Central: - Apache XML Security for Java: https://mvnrepository.com/artifact/org.apache.santuario/xmlsec/2.2.0 - XML Commons Resolver: https://mvnrepository.com/artifact/xml-resolver/xml-resolver/1.2-osgi - Bouncy Castle: https://mvnrepository.com/artifact/org.bouncycastle/bcprov-ext-jdk15on/1.66, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk15on/1.66 ## Blocked Imports These are not used and can be suppressed : 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.* I tested the bundle in Apache Felix, Apache Sling (web framework running on Felix), Adobe AEM (Commercial version of Apache Sling ) and it worked fine for me. There is also a Pax Exam integration test running with the Apache Felix driver. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
