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/spellcheckservice/pom.xml b/examples/spellcheckservice/pom.xml
index b0b49be..ece9665 100644
--- a/examples/spellcheckservice/pom.xml
+++ b/examples/spellcheckservice/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 Service</name>
+ <packaging>bundle</packaging>
+ <name>Apache Felix Example Spell Check Service</name>
<artifactId>org.apache.felix.examples.spellcheckservice</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,27 +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 Service Example</bundleName>
- <bundleVendor>Apache Software Foundation</bundleVendor>
- <bundleDescription>
+ <instructions>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>Example Spell Check Service</Bundle-Name>
+ <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+ <Bundle-Description>
A bundle that registers a spell checking service.
- </bundleDescription>
- <bundleActivator>
+ </Bundle-Description>
+ <Bundle-Activator>
org.apache.felix.examples.spellcheckservice.impl.Activator
- </bundleActivator>
- <importPackage>
- org.osgi.framework, org.apache.felix.examples.dictionaryservice
- </importPackage>
- <exportPackage>
- org.apache.felix.examples.spellcheckservice
- </exportPackage>
- </osgiManifest>
+ </Bundle-Activator>
+ <Export-Package>
+ org.apache.felix.examples.spellcheckservice.*
+ </Export-Package>
+ </instructions>
</configuration>
</plugin>
</plugins>