felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r987618 - in /websites/staging/felix/trunk/content: ./ documentation/faqs/ documentation/subprojects/ documentation/subprojects/apache-felix-maven-scr-plugin/
Date Sat, 07 May 2016 00:34:26 GMT
Author: buildbot
Date: Sat May  7 00:34:25 2016
New Revision: 987618

Log:
Staging update by buildbot for felix

Modified:
    websites/staging/felix/trunk/content/   (props changed)
    websites/staging/felix/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.html
    websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin.html
    websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat May  7 00:34:25 2016
@@ -1 +1 @@
-1742679
+1742680

Modified: websites/staging/felix/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.html
(original)
+++ websites/staging/felix/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.html
Sat May  7 00:34:25 2016
@@ -90,6 +90,7 @@ h2:hover > .headerlink, h3:hover > .head
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
> .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink
{ visibility: visible }</style>
 <div class="toc">
 <ul>
+<li><a href="#should-i-still-use-the-apache-felix-scr-annotations-over-the-official-osgi-annotations">Should
I still use the Apache Felix SCR annotations over the official OSGi annotations?</a></li>
 <li><a href="#why-are-the-standard-annotations-not-processed">Why are the (standard)
annotations not processed?</a></li>
 <li><a href="#syntax-error-when-enums-are-used">Syntax Error when Enums are used?</a></li>
 <li><a href="#noclassdeffounderror-during-build">NoClassDefFoundError during
build</a></li>
@@ -99,6 +100,8 @@ h2:hover > .headerlink, h3:hover > .head
 <p>This page provides answers to frequently asked questions using the Maven
 SCR Plugin. See <a href="/documentation/subprojects/apache-felix-maven-scr-plugin.html">Apache
Felix Maven SCR Plugin</a>
 for documentation on that plugin.</p>
+<h2 id="should-i-still-use-the-apache-felix-scr-annotations-over-the-official-osgi-annotations">Should
I still use the Apache Felix SCR annotations over the official OSGi annotations?<a class="headerlink"
href="#should-i-still-use-the-apache-felix-scr-annotations-over-the-official-osgi-annotations"
title="Permanent link">&para;</a></h2>
+<p>Starting with the R6 release of the OSGi Declarative Services and Metatype specification,
the official annotations support the same features as the Apache Felix SCR annotations in
a more elegant manner and even provide additional functionality. Therefore the Apache Felix
SCR annotations are now in maintenance mode and therefore you should rather use the official
annotations. The Apache Felix maven-bundle-plugin, version 3.0.1 or higher supports those
directly and there is no need for an additional plugin anymore.</p>
 <h2 id="why-are-the-standard-annotations-not-processed">Why are the (standard) annotations
not processed?<a class="headerlink" href="#why-are-the-standard-annotations-not-processed"
title="Permanent link">&para;</a></h2>
 <p>In order to process any annotations, a processor for them needs to be added as a
dependency to your project. There are currently two different processors, one for the annotations
defined within the Apache Felix project and another one for the standard annotations from
the Declarative Services specification.</p>
 <h2 id="syntax-error-when-enums-are-used">Syntax Error when Enums are used?<a class="headerlink"
href="#syntax-error-when-enums-are-used" title="Permanent link">&para;</a></h2>
@@ -151,7 +154,7 @@ In both cases, the scanned classes have
 <p>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.</p>
 <p>Otherwise your bundle might resolve fine, however no services are registered with
the service registry and no components are activated.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1619329 by cziegeler on Thu, 21 Aug 2014 09:47:17 +0000
+        Rev. 1742680 by cziegeler on Sat, 7 May 2016 00:34:10 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project

Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin.html
(original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin.html
Sat May  7 00:34:25 2016
@@ -88,6 +88,7 @@ h2:hover > .headerlink, h3:hover > .head
   visibility: hidden;
 }
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
> .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink
{ visibility: visible }</style>
+<p>Note: While the Apache Felix Maven SCR Plugin is a great tool (see below), for developing
OSGi components using Declarative Services you should use the official annotations from the
OSGi R6 specification. The development of the Apache Felix SCR Plugin is in maintenance mode.</p>
 <p>The Apache Felix Maven SCR Plugin is a great tool to ease the development of OSGi
components and services. Components and services are defined through annotations and the plugin
creates the necessary descriptors for the OSGi Declarative Services, Config Admin and Metatype
services. Recent versions of the plugin support OSGi Declarative Services versions 1.0, 1.1,
and 1.2.</p>
 <p>Make sure to see the <a href="/documentation/faqs/apache-felix-scr-plugin-faq.html">FAQ</a>
for known problems.</p>
 <h2 id="introduction">Introduction<a class="headerlink" href="#introduction" title="Permanent
link">&para;</a></h2>
@@ -123,7 +124,7 @@ will only be implemented as annotations.
 <li>Property values are handled differently. While the JavaDoc version has an auto
detection of types together with an explicit type parameter, the annotations version has several
attributes. Each type has its own attribute (like <code>shortValue</code>, <code>intValue</code>
and so on). This is because of a limitation in the Java annotations which only allow typed
parameters.</li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1524011 by cziegeler on Tue, 17 Sep 2013 12:41:10 +0000
+        Rev. 1742680 by cziegeler on Sat, 7 May 2016 00:34:10 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project

Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html
(original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html
Sat May  7 00:34:25 2016
@@ -98,7 +98,7 @@ h2:hover > .headerlink, h3:hover > .head
       <span class="nt">&lt;plugin&gt;</span>
         <span class="nt">&lt;groupId&gt;</span>org.apache.felix<span
class="nt">&lt;/groupId&gt;</span>
         <span class="nt">&lt;artifactId&gt;</span>maven-scr-plugin<span
class="nt">&lt;/artifactId&gt;</span>
-        <span class="nt">&lt;version&gt;</span>1.15.0<span class="nt">&lt;/version&gt;</span>
+        <span class="nt">&lt;version&gt;</span>1.20.0<span class="nt">&lt;/version&gt;</span>
         <span class="nt">&lt;executions&gt;</span>
           <span class="nt">&lt;execution&gt;</span>
             <span class="nt">&lt;id&gt;</span>generate-scr-scrdescriptor<span
class="nt">&lt;/id&gt;</span>
@@ -219,7 +219,7 @@ Project types which this plugin supports
 ...
 </pre></div>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1576638 by cziegeler on Wed, 12 Mar 2014 08:43:16 +0000
+        Rev. 1742680 by cziegeler on Sat, 7 May 2016 00:34:10 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project



Mime
View raw message