Skip to content

Commit

Permalink
fix missing import-package
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
maggu2810 committed Jan 29, 2015
1 parent aba7037 commit bb8a1c7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb8a1c7

Please sign in to comment.