Update the eventadmin to wireadmin bridge to the new plugin.

git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@470797 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/eventadmin.bridge.wireadmin/pom.xml b/eventadmin.bridge.wireadmin/pom.xml
index d35fbe1..feed950 100644
--- a/eventadmin.bridge.wireadmin/pom.xml
+++ b/eventadmin.bridge.wireadmin/pom.xml
@@ -5,40 +5,41 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix EventAdmin Bridge WireAdmin</name>
   <artifactId>org.apache.felix.eventadmin.bridge.wireadmin</artifactId>
+  <description>
+	This bundle provides a bridge between WireAdmin and EventAdmin events.
+  </description>  
   <dependencies>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
       <version>${pom.version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
       <version>${pom.version}</version>
-      <scope>provided</scope>
     </dependency>
   </dependencies>
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <version>${pom.version}</version>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
+          <instructions>
             <bundleName>EventAdmin Bridge WireAdmin</bundleName>
             <bundleVendor>Apache Software Foundation</bundleVendor>
-            <bundleDescription>
-              This bundle provides a bridge between WireAdmin and EventAdmin events.
-            </bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-          </osgiManifest>
+            <Bundle-Activator>${pom.artifactId}.Activator</Bundle-Activator>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+            <Private-Package>${pom.artifactId}.*</Private-Package>
+            <Include-Resource>
+		src/main/resources
+	    </Include-Resource>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>