Thanks Yegor. I raised https://issues.apache.org/jira/browse/SM-5183 and 
https://issues.apache.org/jira/browse/SM-5184 yesterday. Feel free to add extra 
detail to those issues.




 
 
 On Monday 20 June 2022, 09:49:01 IST, Yegor Kozlov <[email protected]> 
wrote: 





Hi PJ,

OSGi is just another way of packaging and I thought it might make sense to
provide a reference implementation. There are two main reasons for that:

1. The  Service Mix POI bundle didn't always work in my projects. I checked
the latest Service Mix release and it failed to install on a bare Apache
Felix instance with a
'org.osgi.framework.BundleException: Duplicate import:
org.apache.xmlbeans.impl.schema' exception.

Packaging OSGi bundles in a project with many dependencies can be a
non-trivial task. We can raise a bug in  Service Mix and get it fixed, but
I believe  it should be our responsibility.It's just not obvious for a 3rd
party project to figure out the correct combination of exports/imports.

2. There is a lag between releasing POI and releasing the Service Mix POI
bundle . If we include poi-osgi in our releases it will improve acceptance
of POI in the OSGi world.


>> Is there anything special needed to release that bundle?

we will need to revisit the maven dependencies and make sure they are
aligned with the actual versions in the Gradle build. Also, poi-osgi is a
Maven project which does not fit in the Ant/Gradle build.

Regards,
Yegor

On Sun, Jun 19, 2022 at 6:27 PM PJ Fanning <[email protected]>
wrote:

> Hi everyone,
>
> I only just noticed https://github.com/apache/poi/tree/trunk/osgi
>
> Is there anything special needed to release that bundle? I haven't done
> anything with it in any of the releases that I've done.
>
> I noticed that the Saxon version is quite old (in the readme). Is there an
> alternative that would support a newer version?
>
> Apache ServiceMix seems to have bundles for POI and XMLBeans - that seem
> pretty up to date.
>
>
> https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi
>
> https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlbeans
>
> Would it make sense for us to just support OSGI using these ServiceMix
> bundles?
>
> Regards,
> PJ
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to