Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
deploymentadmin-0.9.0
-
None
-
linux (archlinux
Description
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