Bad manifest content on Import-package part
-------------------------------------------
Key: FELIX-3072
URL: https://issues.apache.org/jira/browse/FELIX-3072
Project: Felix
Issue Type: Bug
Components: Deployment Admin
Affects Versions: deploymentadmin-0.9.0
Environment: linux (archlinux
Reporter: Thierry D.
Priority: Minor
The "Import-Package" parameter of the bundle's manifest file should not contain
"org.osgi.service.deploymentadmin" packages classes
because it embeds these classes.
this "bug" generates "ClassNotFound" exception when you use the webconsole
bundle felix plugin.
original parameter value :
Import-Package:
org.apache.felix.dm;version="[3.0,4)",org.osgi.framework;version="[1.5,2)",org.osgi.service.deploymentadmin;version="1.1,2)",org.osgi.service.deploymentadmin.spi;version="[1.0,2)",org.osgi.service.event;version="[1.2,2)",org.osgi.service.log;version="1.3,2)",org.osgi.service.packageadmin;version="[1.2,2)"
suggested parameter value (fix ?):
Import-Package:
org.apache.felix.dm;version="[3.0,4)",org.osgi.framework;version="[1.5,2)",org.osgi.service.event;version="[1.2,2)",
org.osgi.service.log;version="[1.3,2)",org.osgi.service.packageadmin;version="[1.2,2)"
unfortunatelly I am not able to provide a fix because I dont know how the osgi
bunble maven plugin work exactly.
I hope this will help you
regards
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira