felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r830894 - /felix/trunk/scr/pom.xml
Date Thu, 29 Oct 2009 11:05:32 GMT
Author: fmeschbe
Date: Thu Oct 29 11:05:31 2009
New Revision: 830894

URL: http://svn.apache.org/viewvc?rev=830894&view=rev
Log:
FELIX-1711 Ensure correct versions are imported. Especially
important is the imported version of the SCR API, since we
implement version 1.1 we should not be importing anything
older or newer.

Modified:
    felix/trunk/scr/pom.xml

Modified: felix/trunk/scr/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/scr/pom.xml?rev=830894&r1=830893&r2=830894&view=diff
==============================================================================
--- felix/trunk/scr/pom.xml (original)
+++ felix/trunk/scr/pom.xml Thu Oct 29 11:05:31 2009
@@ -174,13 +174,22 @@
                                 Framework version 1.3 (from R4.0) is enough,
                                 the Bundle.getBundleContext method is guarded
                             -->
-                            org.osgi.framework;version=1.3,
+                            org.osgi.framework;version="[1.3,2)",
                             
                             <!--
                                 Configuration Admin is optional and if it is
                                 present, version 1.2 (from R4.0) is enough  
                             -->
-                            org.osgi.service.cm;version=1.2;resolution:=optional
+                            org.osgi.service.cm;version="[1.2,2)";resolution:=optional,
+                            
+                            <!--
+                                SCR API is required (we also export it) and must
+                                be of any 1.1 version, because we implement that
+                                exact version. This import is only used if the
+                                framework decides to wire the bundle to another
+                                API provider. 
+                            -->
+                            org.osgi.service.component;version="[1.1,1.2)"
                         </Import-Package>
                         <DynamicImport-Package>
                             org.osgi.service.log



Mime
View raw message