You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2011/07/25 22:45:40 UTC
question on BSF Annotator OSGi packaging import-package
The OSGi build for this has a bundle instruction:
<Import-Package>
org.apache.log.*;
org.python.*;
tcl.lang.*;
org.apache.xpath.*;
COM.*;
com.sun.*;
javax.jms.*;
netrexx.lang.*;
org.apache.tools.ant.*; resolution:=optional,
*
</Import-Package>
The felix bundle, when run with this gives warning messages:
[INFO] --- maven-bundle-plugin:2.1.0:bundle (uima-bundle) @ BSFAnnotator ---
[WARNING] Warning building bundle
org.apache.uima:BSFAnnotator:jar:2.3.1-SNAPSHOT : Did not find matching referal
for org.apache.log.*
[WARNING] Warning building bundle
org.apache.uima:BSFAnnotator:jar:2.3.1-SNAPSHOT : Did not find matching referal
for org.apache.tools.ant.*
If I remove the org.apache.tools.ant.*; resolution:=optional and
org.apache.log.* parts of the import-package instruction, then the warnings go
away.
Does anyone know why these parts are included in the import-package instruction?
-Marshall