aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1097786 - in /aries/trunk/spi-fly/spi-fly-examples: spi-fly-example-client-bundle/pom.xml spi-fly-example-provider1-bundle/pom.xml spi-fly-example-provider1-jar/pom.xml spi-fly-example-provider2-bundle/pom.xml
Date Fri, 29 Apr 2011 12:27:18 GMT
Author: davidb
Date: Fri Apr 29 12:27:17 2011
New Revision: 1097786

URL: http://svn.apache.org/viewvc?rev=1097786&view=rev
Log:
More tweaks to the examples.

Modified:
    aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client-bundle/pom.xml
    aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-bundle/pom.xml
    aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-jar/pom.xml
    aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider2-bundle/pom.xml

Modified: aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client-bundle/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client-bundle/pom.xml?rev=1097786&r1=1097785&r2=1097786&view=diff
==============================================================================
--- aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client-bundle/pom.xml (original)
+++ aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client-bundle/pom.xml Fri Apr 29
12:27:17 2011
@@ -32,7 +32,7 @@
     <packaging>bundle</packaging>
     <name>Apache Aries Example SPI Client Bundle</name>
     <description>
-        A Bundle that uses the java.util.ServiceLoader() API.
+        A Bundle that uses the java.util.ServiceLoader() API through an embedded library.

     </description>
 
     <dependencies>
@@ -79,6 +79,7 @@
                         </Private-Package>
                         <Embed-Dependency>*;scope=compile;inline=false</Embed-Dependency>
                         <Bundle-Activator>org.apache.aries.spifly.client.bundle.Activator</Bundle-Activator>
+                        <SPI-Consumer>*</SPI-Consumer>
                     </instructions>
                 </configuration>
             </plugin>

Modified: aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-bundle/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-bundle/pom.xml?rev=1097786&r1=1097785&r2=1097786&view=diff
==============================================================================
--- aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-bundle/pom.xml (original)
+++ aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-bundle/pom.xml Fri Apr
29 12:27:17 2011
@@ -32,7 +32,7 @@
     <packaging>bundle</packaging>
     <name>Apache Aries Example SPI Provider Bundle 1</name>
     <description>
-        A Bundle providing a service
+        A Bundle providing a service which is provided in an embedded jar file.
     </description>
 
     <dependencies>
@@ -42,6 +42,12 @@
             <version>${project.version}</version>
             <scope>provided</scope>
         </dependency>        
+        
+        <dependency>
+            <groupId>org.apache.aries.spifly.examples</groupId>
+            <artifactId>org.apache.aries.spifly.examples.provider1.jar</artifactId>
+            <version>${project.version}</version>
+        </dependency>                
     </dependencies>
 
     <build>
@@ -54,11 +60,11 @@
                         <Import-Package>
                             *
                         </Import-Package>
-                        <Export-Package>
-                        </Export-Package>
-                        <Private-Package>
-                            org.apache.aries.spifly.mysvc.impl
-                        </Private-Package>
+                        <Export-Package/>
+                        <_exportcontents/>
+                        <Private-Package/>
+                        <Embed-Dependency>*;scope=compile;inline=false</Embed-Dependency>
+                        <SPI-Provider>*</SPI-Provider>
                     </instructions>
                 </configuration>
             </plugin>

Modified: aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-jar/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-jar/pom.xml?rev=1097786&r1=1097785&r2=1097786&view=diff
==============================================================================
--- aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-jar/pom.xml (original)
+++ aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-jar/pom.xml Fri Apr 29
12:27:17 2011
@@ -32,7 +32,7 @@
     <packaging>jar</packaging>
     <name>Apache Aries Example SPI Provider Jar 1</name>
     <description>
-        A Jar providing a service
+        A Jar providing a service through META-INF/services
     </description>
 
     <dependencies>

Modified: aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider2-bundle/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider2-bundle/pom.xml?rev=1097786&r1=1097785&r2=1097786&view=diff
==============================================================================
--- aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider2-bundle/pom.xml (original)
+++ aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider2-bundle/pom.xml Fri Apr
29 12:27:17 2011
@@ -59,6 +59,7 @@
                         <Private-Package>
                             org.apache.aries.spifly.mysvc.impl2
                         </Private-Package>
+                        <SPI-Provider>*</SPI-Provider>                      
 
                     </instructions>
                 </configuration>
             </plugin>



Mime
View raw message