[
https://issues.apache.org/jira/browse/SM-5183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556282#comment-17556282
]
Yegor Kozlov commented on SM-5183:
----------------------------------
{quote} ooxml-schemas 1.4 is an old jar that is no longer uses in POI v5+ and
could cause conflicts with poi-ooxml-lite and poi-ooxml-full (the latter is the
replacement for ooxml-schemas)
{quote}
There are some ooxml schema conflicts in the latest release. It fails to
install in a bare Apache Felix instance with a "Duplicate import:
org.apache.xmlbeans.impl.schema" message.
{code:java}
yegor.kozlov@ykozlovcom:~/projects/poi/felix$ java -jar bin/felix.jar
____________________________
Welcome to Apache Felix Gogog! install
file:/Users/yegor.kozlov/Downloads/org.apache.servicemix.bundles.poi-5.2.2_1.jar
11:20:10
org.osgi.framework.BundleException: Duplicate import:
org.apache.xmlbeans.impl.schema {code}
> POI dependencies in OSGI bundle look wrong
> ------------------------------------------
>
> Key: SM-5183
> URL: https://issues.apache.org/jira/browse/SM-5183
> Project: ServiceMix
> Issue Type: Improvement
> Reporter: PJ Fanning
> Priority: Major
>
> I'm a PMC member with POI but I don't use ServiceMix or OSGI.
> The jar dependencies in the 5.2.2_1 pom look wrong:
> https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi/5.2.2_1
> https://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.poi/5.2.2_1/org.apache.servicemix.bundles.poi-5.2.2_1.pom
> * curvesapi should be v1.0.6
> * poi-ooxml-schemas 4.1.2 is an old jar that is no longer uses in POI v5+ and
> could cause conflicts with poi-ooxml-lite (the replacement for
> poi-ooxml-schemas)
> * ooxml-schemas 1.4 is an old jar that is no longer uses in POI v5+ and could
> cause conflicts with poi-ooxml-lite and poi-ooxml-full (the latter is the
> replacement for ooxml-schemas)
--
This message was sent by Atlassian Jira
(v8.20.7#820007)