You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ss...@apache.org on 2019/06/05 19:40:16 UTC
svn commit: r1860681 -
/felix/site/trunk/content/documentation/faqs/apache-felix-bundle-plugin-faq.mdtext
Author: sseifert
Date: Wed Jun 5 19:40:16 2019
New Revision: 1860681
URL: http://svn.apache.org/viewvc?rev=1860681&view=rev
Log:
FELIX-6142 fix documentation for using SCR bnd plugin
Modified:
felix/site/trunk/content/documentation/faqs/apache-felix-bundle-plugin-faq.mdtext
Modified: felix/site/trunk/content/documentation/faqs/apache-felix-bundle-plugin-faq.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/faqs/apache-felix-bundle-plugin-faq.mdtext?rev=1860681&r1=1860680&r2=1860681&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/faqs/apache-felix-bundle-plugin-faq.mdtext (original)
+++ felix/site/trunk/content/documentation/faqs/apache-felix-bundle-plugin-faq.mdtext Wed Jun 5 19:40:16 2019
@@ -158,9 +158,22 @@ If you want to run unit test in the same
The flag `supportIncrementalBuild` is only necessary when you are using Eclipse and m2e, it supports generating the appropriate metadata during incremental builds. When you also want to support the old-style Felix SCR annotations from Java package `org.apache.felix.scr.annotations` you can add this BND plugin:
- <configuration>
- <instructions>
- <!-- Support parsing of maven-scr-plugin annotations through the felix.scr.bnd plugin -->
- <_plugin>org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin;destdir=${project.build.outputDirectory};</_plugin>
- </instructions>
- </configuration>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <!-- Support parsing of maven-scr-plugin annotations through the felix.scr.bnd plugin -->
+ <_plugin>org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin;destdir=${project.build.outputDirectory}</_plugin>
+ </instructions>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.scr.bnd</artifactId>
+ <version>1.9.4</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+