You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by bu...@apache.org on 2015/03/05 23:42:36 UTC

svn commit: r942514 - in /websites/staging/felix/trunk/content: ./ documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.html

Author: buildbot
Date: Thu Mar  5 22:42:35 2015
New Revision: 942514

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:42:35 2015
@@ -1 +1 @@
-1664514
+1664518

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:42:35 2015
@@ -136,71 +136,47 @@ You can also check http://www.aqute.biz/
 use a "_plugin" option in the pom, and to declare a dependency inside the "plugin" configuration.
 For example:</p>
 <p>:::xml
-&lt;?xml version="1.0"?&gt;
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <properties>
-        <osgi.version>4.2.0</osgi.version>
-    </properties>
-    <name>Hello World Using Dependency Manager Annotations</name>
-    <groupId>org.apache.felix</groupId>
-    <artifactId>org.apache.felix.dependencymanager.samples.annotation.hello</artifactId>
-    <version>3.0.0-SNAPSHOT</version>
-    <packaging>bundle</packaging>
-    <dependencies>
-        <dependency>
-            <groupId>${pom.groupId}</groupId>
+<project ...>
+  <dependencies>
+    ...
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.dependencymanager.annotation</artifactId>
+      <version>4.0.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      ...  <br />
+      <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>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.felix</groupId>
             <artifactId>org.apache.felix.dependencymanager.annotation</artifactId>
-            <version>3.0.0</version>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <version>2.3.4</version>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-Name>Hello World Using Dependency Manager Annotations</Bundle-Name>
-                        <Bundle-SymbolicName>org.apache.felix.dependencymanager.samples.annotation.hello</Bundle-SymbolicName>
-                        <Import-Package>*</Import-Package>
-                        <Private-Package>org.apache.felix.dependencymanager.samples.annotation.hello</Private-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.apache.felix.dependencymanager.annotation</artifactId>
-                <version>3.0.0</version>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>scan</goal>
-                        </goals>
-                        <configuration>
-                            <log>info</log>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
+            <version>4.0.0</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+    </plugins>
+  </build>
 </project></p>
 </li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1664514 by pderop on Thu, 5 Mar 2015 22:28:46 +0000
+        Rev. 1664518 by pderop on Thu, 5 Mar 2015 22:42:21 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project