updated junit4osgi to use the bnd-ipojo-plugin.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1159178 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/junit4osgi/swing-runner/pom.xml b/ipojo/junit4osgi/swing-runner/pom.xml
index 451cd2a..a6ef97d 100644
--- a/ipojo/junit4osgi/swing-runner/pom.xml
+++ b/ipojo/junit4osgi/swing-runner/pom.xml
@@ -52,7 +52,7 @@
     <plugin>
       <groupId>org.apache.felix</groupId>
       <artifactId>maven-bundle-plugin</artifactId>
-      <version>1.4.3</version>
+      <version>2.3.5</version>
       <extensions>true</extensions>
       <configuration>
         <instructions>
@@ -62,23 +62,16 @@
           </Private-Package>
           <Import-Package>org.osgi.framework;version=1.3,*
           </Import-Package>
+          <_plugin>org.apache.felix.ipojo.bnd.PojoizationPlugin;metadata=${basedir}/metadata.xml;use-local-schemas=true</_plugin>
         </instructions>
       </configuration>
-    </plugin>
-    <plugin>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>maven-ipojo-plugin</artifactId>
-      <version>1.8.0</version>
-      <executions>
-        <execution>
-          <goals>
-            <goal>ipojo-bundle</goal>
-          </goals>
-          <configuration>
-            <ignoreAnnotations>true</ignoreAnnotations>
-          </configuration>
-        </execution>
-      </executions>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>bnd-ipojo-plugin</artifactId>
+          <version>1.0.0-SNAPSHOT</version>
+        </dependency>
+      </dependencies>
     </plugin>
     <plugin>
       <groupId>org.codehaus.mojo</groupId>