Hi Glen,
yes, it should be an optional import.
I created the corresponding Jira:
https://issues.apache.org/jira/browse/SM-2925
I will fix that and include in the current bundles release in preparation.
Thanks,
Regards
JB
On 03/24/2016 12:32 AM, Glen Hein wrote:
Hello,
I'm trying to use the poi bundle (3.13_1) and it will not start in OSGi.
local>bundle:install
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi/3.13_1
Bundle ID: 342
local>bundle:start 342
Error executing command: Error executing command on bundles:
Error starting bundle342: Could not resolve module:
org.apache.servicemix.bundles.poi [342]
Unresolved requirement: Import-Package: com.sun.javadoc;
resolution:="optional"
Unresolved requirement: Import-Package: com.sun.tools.javadoc;
resolution:="optional"
Unresolved requirement: Import-Package: junit.framework;
resolution:="optional"
Unresolved requirement: Import-Package: org.apache.crimson.jaxp;
resolution:="optional"
Unresolved requirement: Import-Package: org.apache.tools.ant;
resolution:="optional"
Unresolved requirement: Import-Package: org.apache.tools.ant.taskdefs;
resolution:="optional"
Unresolved requirement: Import-Package: org.apache.tools.ant.types;
resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.cert;
resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.cert.jcajce;
resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.cert.ocsp;
resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.cms;
resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.cms.bc;
resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.operator;
resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.operator.bc;
resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.tsp;
resolution:="optional"
Unresolved requirement: Import-Package: org.etsi.uri.x01903.v14
It looks like the org.etsi.uri.x01903.v14 classes are missing from the bundle.
Is it OK if I create a ticket for it, at least for tracking purposes on my side?
Thanks,
Glen
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com