You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by al...@apache.org on 2017/02/11 17:47:27 UTC

svn commit: r1782629 - /aries/site/trunk/content/modules/blueprint-maven-plugin.mdtext

Author: alien11689
Date: Sat Feb 11 17:47:27 2017
New Revision: 1782629

URL: http://svn.apache.org/viewvc?rev=1782629&view=rev
Log:
Add missing spring dependency and add note about optional annotations

Modified:
    aries/site/trunk/content/modules/blueprint-maven-plugin.mdtext

Modified: aries/site/trunk/content/modules/blueprint-maven-plugin.mdtext
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/modules/blueprint-maven-plugin.mdtext?rev=1782629&r1=1782628&r2=1782629&view=diff
==============================================================================
--- aries/site/trunk/content/modules/blueprint-maven-plugin.mdtext (original)
+++ aries/site/trunk/content/modules/blueprint-maven-plugin.mdtext Sat Feb 11 17:47:27 2017
@@ -138,7 +138,16 @@ Creates blueprint xml from annotations i
         <groupId>org.apache.aries.blueprint</groupId>
         <artifactId>blueprint-maven-plugin-annotation</artifactId>
         <version>1.0.0</version>
+        <optional>true</optional>
     </dependency>
+    <dependency>
+        <groupId>org.apache.servicemix.bundles</groupId>
+        <artifactId>org.apache.servicemix.bundles.spring-beans</artifactId>
+        <version>3.2.11.RELEASE_1</version>
+        <optional>true</optional>
+    </dependency>
+
+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.
 
 ## SPI ##
 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: