Re-structure the test suites, use withiPOJO and OSGi test helpers.
Also update some test to the latest tinybundles.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@939968 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/tests/core/annotations/pom.xml b/ipojo/tests/core/annotations/pom.xml
index 5d091da..4e4501e 100644
--- a/ipojo/tests/core/annotations/pom.xml
+++ b/ipojo/tests/core/annotations/pom.xml
@@ -16,7 +16,14 @@
   specific language governing permissions and limitations

   under the License.

 -->

-<project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

+  <parent>

+  	<groupId>ipojo.tests</groupId>

+  	<artifactId>ipojo.tests</artifactId>

+  	<version>1.5.0-SNAPSHOT</version>

+  </parent>

+

   <modelVersion>4.0.0</modelVersion>

   <packaging>bundle</packaging>

   <name>iPOJO Annotations Test Suite</name>

@@ -31,16 +38,18 @@
     </dependency>

     <dependency>

       <groupId>org.apache.felix</groupId>

-      <artifactId>org.apache.felix.ipojo.metadata

-      </artifactId>

-      <version>1.4.0</version>

+      <artifactId>org.apache.felix.ipojo.metadata</artifactId>

     </dependency>

     <dependency>

-      <groupId>org.apache.felix</groupId>

+      <groupId>org.osgi</groupId>

       <artifactId>org.osgi.core</artifactId>

-      <version>1.0.1</version>

     </dependency>

     <dependency>

+		<groupId>org.osgi</groupId>

+		<artifactId>org.osgi.compendium</artifactId>

+		<version>4.0.0</version>

+	</dependency>

+    <dependency>

       <groupId>junit</groupId>

       <artifactId>junit</artifactId>

       <version>3.8.1</version>

@@ -83,7 +92,6 @@
       <plugin>

         <groupId>org.apache.felix</groupId>

         <artifactId>maven-bundle-plugin</artifactId>

-        <version>1.4.3</version>

         <extensions>true</extensions>

         <configuration>

           <instructions>

@@ -105,7 +113,6 @@
       <plugin>

         <groupId>org.apache.felix</groupId>

         <artifactId>maven-ipojo-plugin</artifactId>

-        <version>1.6.0</version>

         <executions>

           <execution>

             <goals>