FELIX-1984 Define proper import versions for the packages exported/expected by the bundle and also define the proper version for the dynamic log service import
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@993644 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configadmin/pom.xml b/configadmin/pom.xml
index 5e3882d..56ae4a3 100644
--- a/configadmin/pom.xml
+++ b/configadmin/pom.xml
@@ -138,6 +138,9 @@
${artifactId}
</Bundle-SymbolicName>
<Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
+ <Bundle-Activator>
+ org.apache.felix.cm.impl.ConfigurationManager
+ </Bundle-Activator>
<Export-Package>
org.apache.felix.cm;
org.apache.felix.cm.file;version=1.0,
@@ -147,11 +150,14 @@
org.apache.felix.cm.impl,
org.osgi.util.tracker
</Private-Package>
- <Bundle-Activator>
- org.apache.felix.cm.impl.ConfigurationManager
- </Bundle-Activator>
+ <Import-Package>
+ org.apache.felix.cm;
+ org.apache.felix.cm.file;version="[$(version;==;$(@)),$(version;=+;$(@)))",
+ org.osgi.service.cm;version="[$(version;==;$(@)),$(version;=+;$(@)))",
+ *
+ </Import-Package>
<DynamicImport-Package>
- org.osgi.service.log
+ org.osgi.service.log;version="1.3"
</DynamicImport-Package>
</instructions>
</configuration>