Modified all examples to use maven-bundle-plugin and to use released
artifacts where possible.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@569043 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/examples/dictionaryclient/pom.xml b/examples/dictionaryclient/pom.xml
index 9b02615..1c271a4 100644
--- a/examples/dictionaryclient/pom.xml
+++ b/examples/dictionaryclient/pom.xml
@@ -6,15 +6,15 @@
<relativePath>../../pom/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
- <packaging>osgi-bundle</packaging>
- <name>Apache Felix Examples: Dictionary Client</name>
+ <packaging>bundle</packaging>
+ <name>Apache Felix Example Dictionary Client</name>
<artifactId>org.apache.felix.examples.dictionaryclient</artifactId>
<version>0.9.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>org.osgi.core</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -27,24 +27,25 @@
<build>
<plugins>
<plugin>
- <groupId>org.apache.felix.plugins</groupId>
- <artifactId>maven-osgi-plugin</artifactId>
- <version>0.9.0-SNAPSHOT</version>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>1.0.0</version>
<extensions>true</extensions>
<configuration>
- <osgiManifest>
- <bundleName>Dictionary Client Example</bundleName>
- <bundleVendor>Apache Software Foundation</bundleVendor>
- <bundleDescription>
+ <instructions>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>Example Dictionary Client</Bundle-Name>
+ <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+ <Bundle-Description>
A bundle using the dictionary service if it finds it at startup.
- </bundleDescription>
- <bundleActivator>
+ </Bundle-Description>
+ <Bundle-Activator>
org.apache.felix.examples.dictionaryclient.Activator
- </bundleActivator>
- <importPackage>
- org.osgi.framework, org.apache.felix.examples.dictionaryservice
- </importPackage>
- </osgiManifest>
+ </Bundle-Activator>
+ <Private-Package>
+ org.apache.felix.examples.dictionaryclient.*
+ </Private-Package>
+ </instructions>
</configuration>
</plugin>
</plugins>