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/eventlistener/pom.xml b/examples/eventlistener/pom.xml
index 88a1dd7..05416a3 100644
--- a/examples/eventlistener/pom.xml
+++ b/examples/eventlistener/pom.xml
@@ -6,41 +6,39 @@
     <relativePath>../../pom/pom.xml</relativePath>
   </parent>
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
-  <name>Apache Felix Examples: Service Event Listener</name>
+  <packaging>bundle</packaging>
+  <name>Apache Felix Example Service Event Listener</name>
   <artifactId>org.apache.felix.examples.eventlistener</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>Service listener example</bundleName>
-            <bundleDescription>
+          <instructions>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+            <Bundle-Name>Example Service Listener</Bundle-Name>
+            <Bundle-Description>
               Bundle listening for service events: displays a message on startup and when service events occur.
-            </bundleDescription>
-            <bundleActivator>
+            </Bundle-Description>
+            <Bundle-Activator>
               org.apache.felix.examples.eventlistener.Activator
-            </bundleActivator>
-            <bundleSymbolicName>
-              org.apache.felix.examples.eventlistener
-            </bundleSymbolicName>
-            <importPackage>
-              org.osgi.framework
-            </importPackage>
-          </osgiManifest>
+            </Bundle-Activator>
+            <Private-Package>
+              org.apache.felix.examples.eventlistener.*
+            </Private-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>