--- a/src/main/resources/META-INF/spring/bundle-context-osgi.xml
+++ b/src/main/resources/META-INF/spring/bundle-context-osgi.xml
@@ -2,8 +2,11 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:osgi="http://www.springframework.org/schema/osgi"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
- http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+ http://www.springframework.org/schema/osgi
+ http://www.springframework.org/schema/osgi/spring-osgi.xsd">
<!-- definitions using elements of the osgi namespace can be included
in this file. There is no requirement to keep these definitions
@@ -13,6 +16,6 @@
<osgi:service interface="net.timbusproject.extractors.core.IExtractor" ref="extractor"/>
- <osgi:reference id="log" interface="org.osgi.service.log.LogService"/>
+ <osgi:service ref="LOGGER" interface="org.osgi.service.log.LogService"/>
</beans>