Author: buildbot
Date: Thu Mar  5 22:06:46 2015
New Revision: 942500

Log:
Staging update by buildbot for felix

Modified:
    websites/staging/felix/trunk/content/   (props changed)
    
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Mar  5 22:06:46 2015
@@ -1 +1 @@
-1664280
+1664497

Modified: 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.html
==============================================================================
--- 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.html
 (original)
+++ 
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.html
 Thu Mar  5 22:06:46 2015
@@ -131,9 +131,40 @@ annotations plugin if you don't need to
 See 
org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/dictionary/annot/DictionaryConfiguration.java
 for an example.
 You can also check http://www.aqute.biz/Bnd/MetaType for more information 
about the bnd metatypes annotations.</p>
 </li>
+<li>
+<p>Dependency Manager is now fully built using bndtools, and there is no Maven 
annotation plugin anymore. However, the workaround is simply the 
+use a "_plugin" option in the pom, and to declare a dependency inside the 
"plugin" configuration.
+For example:</p>
+<p>:::xml
+<plugin>
+    <groupId>org.apache.felix</groupId>
+    <artifactId>maven-bundle-plugin</artifactId>
+    <version>2.5.0</version>
+<extensions>true</extensions>
+    <configuration>
+      <instructions>
+    <Bundle-Name>Test</Bundle-Name>
+    <Bundle-SymbolicName>test</Bundle-SymbolicName>
+    <Import-Package>*</Import-Package>
+    
<Private-Package>test.dmannotations.withbndplugininvokedfrompom</Private-Package>
+    
&lt;_plugin&gt;org.apache.felix.dm.annotation.plugin.bnd.AnnotationPlugin;log=debug</_plugin>
+      </instructions>
+    </configuration></p>
+<div class="codehilite"><pre><span class="nt">&lt;dependencies&gt;</span>
+  <span class="nt">&lt;dependency&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>org.apache.felix.dependencymanager.annotation<span
 class="nt">&lt;/artifactId&gt;</span>
+    <span class="nt">&lt;version&gt;</span>4.0.0<span 
class="nt">&lt;/version&gt;</span>
+  <span class="nt">&lt;/dependency&gt;</span>
+<span class="nt">&lt;/dependencies&gt;</span>
+</pre></div>
+
+
+<p></plugin></p>
+</li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; 
text-align: right;">
-        Rev. 1664040 by marrs on Wed, 4 Mar 2015 15:21:58 +0000
+        Rev. 1664497 by pderop on Thu, 5 Mar 2015 22:06:21 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache 
Felix project


Reply via email to