You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by bu...@apache.org on 2017/02/11 17:47:34 UTC
svn commit: r1006559 - in /websites/staging/aries/trunk/content: ./
modules/blueprint-maven-plugin.html
Author: buildbot
Date: Sat Feb 11 17:47:34 2017
New Revision: 1006559
Log:
Staging update by buildbot for aries
Modified:
websites/staging/aries/trunk/content/ (props changed)
websites/staging/aries/trunk/content/modules/blueprint-maven-plugin.html
Propchange: websites/staging/aries/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Feb 11 17:47:34 2017
@@ -1 +1 @@
-1780570
+1782629
Modified: websites/staging/aries/trunk/content/modules/blueprint-maven-plugin.html
==============================================================================
--- websites/staging/aries/trunk/content/modules/blueprint-maven-plugin.html (original)
+++ websites/staging/aries/trunk/content/modules/blueprint-maven-plugin.html Sat Feb 11 17:47:34 2017
@@ -405,10 +405,18 @@ The generated blueprint can also be used
<span class="nt"><groupId></span>org.apache.aries.blueprint<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>blueprint-maven-plugin-annotation<span class="nt"></artifactId></span>
<span class="nt"><version></span>1.0.0<span class="nt"></version></span>
+ <span class="nt"><optional></span>true<span class="nt"></optional></span>
+<span class="nt"></dependency></span>
+<span class="nt"><dependency></span>
+ <span class="nt"><groupId></span>org.apache.servicemix.bundles<span class="nt"></groupId></span>
+ <span class="nt"><artifactId></span>org.apache.servicemix.bundles.spring-beans<span class="nt"></artifactId></span>
+ <span class="nt"><version></span>3.2.11.RELEASE_1<span class="nt"></version></span>
+ <span class="nt"><optional></span>true<span class="nt"></optional></span>
<span class="nt"></dependency></span>
</pre></div>
+<p>Note that the annotations are needed only during build run, so you can exclude them or mark optional in Import-Package header of your bundle.</p>
<h2 id="spi">SPI<a class="headerlink" href="#spi" title="Permanent link">¶</a></h2>
<p>Whole plugin is written using 'plugin architecture', so your own annotations could be configured for bleuprint generation. All you need to do, is to implement one of interfaces from blueprint-maven-plugin-spi:</p>
<div class="codehilite"><pre><span class="nt"><dependency></span>