From bb8a1c79c08d7a34e69aa4cd017c7da850130214 Mon Sep 17 00:00:00 2001 From: Markus Rathgeb Date: Thu, 29 Jan 2015 10:18:33 +0100 Subject: [PATCH] fix missing import-package The file SonosXMLParser.java is using the following imports: - org.xml.sax.Attributes; - org.xml.sax.InputSource; - org.xml.sax.SAXException; - org.xml.sax.XMLReader; - org.xml.sax.helpers.DefaultHandler; - org.xml.sax.helpers.XMLReaderFactory; The OSGi specification mandates that a bundle declare all package depenencies using either Import-Package or Require-Bundle. The one exception to this rule is the java.* packages which is always delegated to the boot classpath. All other packages dependencies must be declared in the bundle's manifest file. Signed-off-by: Markus Rathgeb --- addons/binding/org.openhab.binding.sonos/META-INF/MANIFEST.MF | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/binding/org.openhab.binding.sonos/META-INF/MANIFEST.MF b/addons/binding/org.openhab.binding.sonos/META-INF/MANIFEST.MF index 0dea8f91b98fb..9d196e844b9e0 100644 --- a/addons/binding/org.openhab.binding.sonos/META-INF/MANIFEST.MF +++ b/addons/binding/org.openhab.binding.sonos/META-INF/MANIFEST.MF @@ -22,7 +22,9 @@ Import-Package: com.google.common.collect, org.jupnp.model.meta, org.jupnp.model.types, org.osgi.service.component, - org.slf4j + org.slf4j, + org.xml.sax, + org.xml.sax.helpers Service-Component: OSGI-INF/* Export-Package: org.openhab.binding.sonos, org.openhab.binding.sonos.handler