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/spellcheckclient/pom.xml b/examples/spellcheckclient/pom.xml
index 33dd853..5e9e497 100644
--- a/examples/spellcheckclient/pom.xml
+++ b/examples/spellcheckclient/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: Spell Check Client</name>
+ <packaging>bundle</packaging>
+ <name>Apache Felix Example Spell Check Client</name>
<artifactId>org.apache.felix.examples.spellcheckclient</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>Spell Check Client Example</bundleName>
- <bundleVendor>Apache Software Foundation</bundleVendor>
- <bundleDescription>
+ <instructions>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>Example Spell Check Client</Bundle-Name>
+ <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+ <Bundle-Description>
A bundle using the spell check service.
- </bundleDescription>
- <bundleActivator>
+ </Bundle-Description>
+ <Bundle-Activator>
org.apache.felix.examples.spellcheckclient.Activator
- </bundleActivator>
- <importPackage>
- org.osgi.framework, org.apache.felix.examples.spellcheckservice
- </importPackage>
- </osgiManifest>
+ </Bundle-Activator>
+ <Private-Package>
+ org.apache.felix.examples.spellcheckclient.*
+ </Private-Package>
+ </instructions>
</configuration>
</plugin>
</plugins>