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/immediate-launcher/pom.xml b/ipojo/junit4osgi/immediate-launcher/pom.xml
index 29a3c62..8d91acd 100644
--- a/ipojo/junit4osgi/immediate-launcher/pom.xml
+++ b/ipojo/junit4osgi/immediate-launcher/pom.xml
@@ -59,7 +59,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>

@@ -70,23 +70,16 @@
             </Private-Package>

             <Include-Resource> META-INF/LICENSE=LICENSE,

               META-INF/NOTICE=NOTICE </Include-Resource>

+            <_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>