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/dictionaryservice/pom.xml b/examples/dictionaryservice/pom.xml
index 9f82e70..56c8cc9 100644
--- a/examples/dictionaryservice/pom.xml
+++ b/examples/dictionaryservice/pom.xml
@@ -6,42 +6,43 @@
<relativePath>../../pom/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
- <packaging>osgi-bundle</packaging>
- <name>Apache Felix Examples: English Dictionary Service</name>
+ <packaging>bundle</packaging>
+ <name>Apache Felix Example English Dictionary Service</name>
<artifactId>org.apache.felix.examples.dictionaryservice</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>
</dependencies>
<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>English Dictionary Example</bundleName>
- <bundleVendor>Apache Software Foundation</bundleVendor>
- <bundleDescription>
+ <instructions>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>Example English Dictionary</Bundle-Name>
+ <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+ <Bundle-Description>
A bundle that registersan English dictionary service.
- </bundleDescription>
- <bundleActivator>
+ </Bundle-Description>
+ <Bundle-Activator>
org.apache.felix.examples.dictionaryservice.impl.Activator
- </bundleActivator>
- <exportPackage>
+ </Bundle-Activator>
+ <Export-Package>
org.apache.felix.examples.dictionaryservice
- </exportPackage>
- <importPackage>
- org.osgi.framework
- </importPackage>
- </osgiManifest>
+ </Export-Package>
+ <Private-Package>
+ org.apache.felix.examples.dictionaryservice.*
+ </Private-Package>
+ </instructions>
</configuration>
</plugin>
</plugins>