felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1619329 - /felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext
Date Thu, 21 Aug 2014 09:47:18 GMT
Author: cziegeler
Date: Thu Aug 21 09:47:17 2014
New Revision: 1619329

URL: http://svn.apache.org/r1619329
Log:
FELIX-4606 : Add org.apache.felix.scr.jar as a bundle

Modified:
    felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext

Modified: felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext?rev=1619329&r1=1619328&r2=1619329&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext (original)
+++ felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext Thu Aug
21 09:47:17 2014
@@ -47,7 +47,7 @@ In these cases you should add a dependen
     <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-scr-plugin</artifactId>
-        <version>1.9.0</version>
+        <version>...</version>
         <dependencies>
             <dependency>
                 <groupId>org.slf4j</groupId>
@@ -58,4 +58,10 @@ In these cases you should add a dependen
         ...
     </plugin>
 
-or in the special case of slf4j, using slf4j API 1.6 or higher solves the problem as well
\ No newline at end of file
+or in the special case of slf4j, using slf4j API 1.6 or higher solves the problem as well
+
+## No components or services available at runtime
+
+The SCR plugin generates a descriptor for Declarative Services (see OSGi compendium specification).
Therefore at runtime, you must have an implementation of DS running in your OSGi framework,
like the SCR implementation from the Apache Felix project.
+
+Otherwise your bundle might resolve fine, however no services are registered with the service
registry and no components are activated.
\ No newline at end of file



Mime
View raw message