You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2020/10/02 11:44:11 UTC

[Bug 57857] Provide an OSGi bundle

https://bz.apache.org/bugzilla/show_bug.cgi?id=57857

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #10 from Yegor Kozlov <ye...@dinom.ru> ---

The osgi bundle is in a good shape and this ticket can be finally closed out.
It turned out to be a bit more than just wrapping the POI classes. The bundle
includes an Activator
(https://svn.apache.org/repos/asf/poi/trunk/osgi/src/main/java/org/apache/poi/osgi/Activator.java)
which registers services exported from the JPMS modules which otherwise would
not load via ServiceLoader@load mechanism in OSGi.

I'd like to recommend it as a reference implementation and projects that wish
to wrap POI into their own bundles should follow the pattern. 

For now poi-osgi is a separate maven sub-project which does not fit in the main
Ant-driven build .

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org