Externalize versions into the parent pom.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1073682 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/tests/core/annotations/pom.xml b/ipojo/tests/core/annotations/pom.xml
index dd23efc..5425f6b 100644
--- a/ipojo/tests/core/annotations/pom.xml
+++ b/ipojo/tests/core/annotations/pom.xml
@@ -29,12 +29,11 @@
   <name>iPOJO Annotations Test Suite</name>

   <artifactId>tests.core.annotations</artifactId>

   <groupId>ipojo.tests</groupId>

-  <version>1.5.0-SNAPSHOT</version>

+  <version>${ipojo.core.snapshot}</version>

   <dependencies>

     <dependency>

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

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

-      <version>1.7.0-SNAPSHOT</version>

     </dependency>

     <dependency>

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

@@ -62,7 +61,7 @@
     <dependency>

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

       <artifactId>org.apache.felix.ipojo.annotations</artifactId>

-      <version>1.7.0-SNAPSHOT</version>

+      <version>${ipojo.core.snapshot}</version>

     </dependency>

     <dependency>

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

diff --git a/ipojo/tests/core/bad-configurations/pom.xml b/ipojo/tests/core/bad-configurations/pom.xml
index 248455c..f38c0bb 100644
--- a/ipojo/tests/core/bad-configurations/pom.xml
+++ b/ipojo/tests/core/bad-configurations/pom.xml
@@ -29,12 +29,11 @@
 	<name>iPOJO Bad Configurations Test Suite</name>

 	<artifactId>tests.core.bad.configurations</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>1.5.0-SNAPSHOT</version>

+	<version>${ipojo.core.snapshot}</version>

 	<dependencies>

 		<dependency>

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

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

-			<version>1.7.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

diff --git a/ipojo/tests/core/configadmin/pom.xml b/ipojo/tests/core/configadmin/pom.xml
index 114a31a..fa380a7 100644
--- a/ipojo/tests/core/configadmin/pom.xml
+++ b/ipojo/tests/core/configadmin/pom.xml
@@ -29,12 +29,11 @@
 	<name>iPOJO Configuration Admin Management Test Suite</name>

 	<artifactId>tests.core.configadmin</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>1.5.0-SNAPSHOT</version>

+	<version>${ipojo.core.snapshot}</version>

 	<dependencies>

 		<dependency>

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

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

-			<version>1.7.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

diff --git a/ipojo/tests/core/configuration/pom.xml b/ipojo/tests/core/configuration/pom.xml
index 9e411fa..2ccf5ac 100644
--- a/ipojo/tests/core/configuration/pom.xml
+++ b/ipojo/tests/core/configuration/pom.xml
@@ -29,12 +29,11 @@
   <name>iPOJO Configuration Management Test Suite</name>

   <artifactId>tests.core.configuration</artifactId>

   <groupId>ipojo.tests</groupId>

-  <version>1.5.0-SNAPSHOT</version>

+  <version>${ipojo.core.snapshot}</version>

   <dependencies>

     <dependency>

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

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

-      <version>1.7.0-SNAPSHOT</version>

     </dependency>

     <dependency>

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

diff --git a/ipojo/tests/core/external-handlers/pom.xml b/ipojo/tests/core/external-handlers/pom.xml
index f182bf2..cd16082 100644
--- a/ipojo/tests/core/external-handlers/pom.xml
+++ b/ipojo/tests/core/external-handlers/pom.xml
@@ -29,12 +29,11 @@
 	<name>iPOJO External Handler Mechanism Test Suite</name>

 	<artifactId>tests.core.external.handlers</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>1.5.0-SNAPSHOT</version>

+	<version>${ipojo.core.snapshot}</version>

 	<dependencies>

 		<dependency>

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

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

-			<version>1.7.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

diff --git a/ipojo/tests/core/factories/pom.xml b/ipojo/tests/core/factories/pom.xml
index 18688d5..ccde351 100644
--- a/ipojo/tests/core/factories/pom.xml
+++ b/ipojo/tests/core/factories/pom.xml
@@ -21,12 +21,11 @@
 	<name>iPOJO Factories Test Suite</name>

 	<artifactId>tests.core.factories</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>1.5.0-SNAPSHOT</version>

+	<version>${ipojo.core.snapshot}</version>

 	<dependencies>

 		<dependency>

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

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

-			<version>1.7.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

diff --git a/ipojo/tests/core/factory-version/pom.xml b/ipojo/tests/core/factory-version/pom.xml
index 186ef3e..227ceab 100644
--- a/ipojo/tests/core/factory-version/pom.xml
+++ b/ipojo/tests/core/factory-version/pom.xml
@@ -28,7 +28,7 @@
   <groupId>ipojo.tests</groupId>
   <artifactId>tests.core.factory-version</artifactId>
   <name>iPOJO Factory Version Test Suite</name>
-  <version>1.5.0-SNAPSHOT</version>
+  <version>${ipojo.core.snapshot}</version>
   <description>Test the factory version attribute</description>
 
   <build>
@@ -70,7 +70,7 @@
     <dependency>
       <groupId>org.apache.felix</groupId>
       <artifactId>org.apache.felix.ipojo</artifactId>
-      <version>1.7.0-SNAPSHOT</version>
+      <version>${ipojo.core.snapshot}</version>
     </dependency>
 
   <!--
diff --git a/ipojo/tests/core/handler/pom.xml b/ipojo/tests/core/handler/pom.xml
index 4b15132..409353a 100644
--- a/ipojo/tests/core/handler/pom.xml
+++ b/ipojo/tests/core/handler/pom.xml
@@ -27,7 +27,7 @@
   <groupId>ipojo.tests</groupId>
   <artifactId>tests.core.handler</artifactId>
   <name>iPOJO Handler Mechanism Test Suite</name>
-  <version>1.5.0-SNAPSHOT</version>
+  <version>${ipojo.core.snapshot}</version>
   <description>Test the handler mechanism</description>
 
   <build>
@@ -60,7 +60,7 @@
     <dependency>
       <groupId>org.apache.felix</groupId>
       <artifactId>org.apache.felix.ipojo</artifactId>
-      <version>1.7.0-SNAPSHOT</version>
+      <version>${ipojo.core.snapshot}</version>
     </dependency>
 
   <!-- Pax Exam API: -->
diff --git a/ipojo/tests/core/lifecycle-callback/pom.xml b/ipojo/tests/core/lifecycle-callback/pom.xml
index 99ff014..3901277 100644
--- a/ipojo/tests/core/lifecycle-callback/pom.xml
+++ b/ipojo/tests/core/lifecycle-callback/pom.xml
@@ -29,12 +29,11 @@
 	<name>iPOJO Lifecycle callback Test Suite</name>

 	<artifactId>tests.core.lifecycle.callback</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>1.5.0-SNAPSHOT</version>

+	<version>${ipojo.core.snapshot}</version>

 	<dependencies>

 		<dependency>

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

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

-			<version>1.7.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

diff --git a/ipojo/tests/core/lifecycle-controller/pom.xml b/ipojo/tests/core/lifecycle-controller/pom.xml
index eb23da1..f59f0b7 100644
--- a/ipojo/tests/core/lifecycle-controller/pom.xml
+++ b/ipojo/tests/core/lifecycle-controller/pom.xml
@@ -29,12 +29,11 @@
 	<name>iPOJO Lifecycle controller Test Suite</name>

 	<artifactId>tests.core.lifecycle.controller</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>1.5.0-SNAPSHOT</version>

+	<version>${ipojo.core.snapshot}</version>

 	<dependencies>

 		<dependency>

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

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

-			<version>1.7.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

diff --git a/ipojo/tests/core/logger/pom.xml b/ipojo/tests/core/logger/pom.xml
index ad44bdb..32f2b02 100644
--- a/ipojo/tests/core/logger/pom.xml
+++ b/ipojo/tests/core/logger/pom.xml
@@ -28,7 +28,7 @@
   <groupId>ipojo.tests</groupId>
   <artifactId>tests.core.logger</artifactId>
   <name>iPOJO Logger Test Suite</name>
-  <version>1.5.0-SNAPSHOT</version>
+  <version>${ipojo.core.snapshot}</version>
   <description>Test the logger configuration</description>
 
   <build>
@@ -65,7 +65,7 @@
 	<dependency>
 		<groupId>org.apache.felix</groupId>
 		<artifactId>org.apache.felix.ipojo</artifactId>
-		<version>1.7.0-SNAPSHOT</version>
+		<version>${ipojo.core.snapshot}</version>
 	</dependency>
 	<dependency>
 		<groupId>org.apache.felix</groupId>
diff --git a/ipojo/tests/core/service-dependency-bindingpolicy/pom.xml b/ipojo/tests/core/service-dependency-bindingpolicy/pom.xml
index 6cf0a8c..6238a93 100644
--- a/ipojo/tests/core/service-dependency-bindingpolicy/pom.xml
+++ b/ipojo/tests/core/service-dependency-bindingpolicy/pom.xml
@@ -28,12 +28,12 @@
 	<name>iPOJO Service Dependency (Binding Policy) Test Suite</name>

 	<artifactId>tests.core.service.dependency.bindingpolicy</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>1.5.0-SNAPSHOT</version>

+	<version>${ipojo.core.snapshot}</version>

 	<dependencies>

 		<dependency>

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

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

-			<version>1.7.0-SNAPSHOT</version>

+			<version>${ipojo.core.snapshot}</version>

 		</dependency>

 		<dependency>

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

diff --git a/ipojo/tests/core/service-dependency-comparator/pom.xml b/ipojo/tests/core/service-dependency-comparator/pom.xml
index 6f71513..2dd65bb 100644
--- a/ipojo/tests/core/service-dependency-comparator/pom.xml
+++ b/ipojo/tests/core/service-dependency-comparator/pom.xml
@@ -28,12 +28,11 @@
 	<name>iPOJO Service Dependency Comparator Test Suite</name>

 	<artifactId>tests.core.service.dependency.comparator</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>1.5.0-SNAPSHOT</version>

+	<version>${ipojo.core.snapshot}</version>

 	<dependencies>

 		<dependency>

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

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

-			<version>1.7.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

diff --git a/ipojo/tests/core/service-dependency-filter/pom.xml b/ipojo/tests/core/service-dependency-filter/pom.xml
index 3c1a5bc..7cb06f1 100644
--- a/ipojo/tests/core/service-dependency-filter/pom.xml
+++ b/ipojo/tests/core/service-dependency-filter/pom.xml
@@ -28,12 +28,11 @@
   <name>iPOJO Service Dependency (Filter) Test Suite</name>

   <artifactId>tests.core.service.dependency.filter</artifactId>

   <groupId>ipojo.tests</groupId>

-  <version>1.5.0-SNAPSHOT</version>

+  <version>${ipojo.core.snapshot}</version>

   <dependencies>

     <dependency>

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

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

-      <version>1.7.0-SNAPSHOT</version>

     </dependency>

     <dependency>

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

diff --git a/ipojo/tests/core/service-dependency-optional/pom.xml b/ipojo/tests/core/service-dependency-optional/pom.xml
index 46898ce..ea6e6a9 100644
--- a/ipojo/tests/core/service-dependency-optional/pom.xml
+++ b/ipojo/tests/core/service-dependency-optional/pom.xml
@@ -27,7 +27,7 @@
   <groupId>ipojo.tests</groupId>
   <artifactId>tests.core.dependency.optional</artifactId>
   <name>iPOJO Optional Dependency Test Suite</name>
-  <version>1.5.0-SNAPSHOT</version>
+  <version>${ipojo.core.snapshot}</version>
   <description>Test the optional dependencies</description>
 
   <build>
@@ -61,11 +61,12 @@
     <dependency>
       <groupId>org.apache.felix</groupId>
       <artifactId>org.apache.felix.ipojo</artifactId>
-      <version>1.7.0-SNAPSHOT</version>
+      <version>${ipojo.core.snapshot}</version>
     </dependency>
     <dependency>
       <groupId>org.apache.felix</groupId>
       <artifactId>org.apache.felix.ipojo.annotations</artifactId>
+      <version>${ipojo.core.snapshot}</version>
     </dependency>
     <!--
     Pax Exam API:
diff --git a/ipojo/tests/core/service-dependency/pom.xml b/ipojo/tests/core/service-dependency/pom.xml
index f55135e..1cede89 100644
--- a/ipojo/tests/core/service-dependency/pom.xml
+++ b/ipojo/tests/core/service-dependency/pom.xml
@@ -28,12 +28,11 @@
   <name>iPOJO Service Dependency Test Suite</name>

   <artifactId>tests.core.service.dependency</artifactId>

   <groupId>ipojo.tests</groupId>

-  <version>1.5.0-SNAPSHOT</version>

+  <version>${ipojo.core.snapshot}</version>

   <dependencies>

     <dependency>

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

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

-      <version>1.7.0-SNAPSHOT</version>

     </dependency>

     <dependency>

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

diff --git a/ipojo/tests/core/service-providing-inheritance/pom.xml b/ipojo/tests/core/service-providing-inheritance/pom.xml
index 0b1b7a0..43e59bd 100644
--- a/ipojo/tests/core/service-providing-inheritance/pom.xml
+++ b/ipojo/tests/core/service-providing-inheritance/pom.xml
@@ -28,7 +28,7 @@
   <groupId>ipojo.tests</groupId>
   <artifactId>tests.core.inheritance</artifactId>
   <name>iPOJO Service Providing with inheritance Test Suite</name>
-  <version>1.5.0-SNAPSHOT</version>
+  <version>${ipojo.core.snapshot}</version>
   <description>The the service providing with inheritance</description>
 
   <build>
@@ -61,7 +61,7 @@
     <dependency>
       <groupId>org.apache.felix</groupId>
       <artifactId>org.apache.felix.ipojo</artifactId>
-      <version>1.7.0-SNAPSHOT</version>
+      <version>${ipojo.core.snapshot}</version>
     </dependency>
     <dependency>
       <groupId>org.osgi</groupId>
diff --git a/ipojo/tests/core/service-providing-strategies/pom.xml b/ipojo/tests/core/service-providing-strategies/pom.xml
index 0a7a366..e7124d9 100755
--- a/ipojo/tests/core/service-providing-strategies/pom.xml
+++ b/ipojo/tests/core/service-providing-strategies/pom.xml
@@ -28,12 +28,11 @@
 	<name>iPOJO Service Providing Strategy Test Suite</name>

 	<artifactId>tests.core.ps.strategy</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>1.5.0-SNAPSHOT</version>

+	<version>${ipojo.core.snapshot}</version>

 	<dependencies>

 		<dependency>

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

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

-			<version>1.7.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

diff --git a/ipojo/tests/core/service-providing/pom.xml b/ipojo/tests/core/service-providing/pom.xml
index 9a27648..6aef3da 100644
--- a/ipojo/tests/core/service-providing/pom.xml
+++ b/ipojo/tests/core/service-providing/pom.xml
@@ -29,12 +29,11 @@
   <name>iPOJO Service Providing Test Suite</name>

   <artifactId>tests.core.ps</artifactId>

   <groupId>ipojo.tests</groupId>

-  <version>1.5.0-SNAPSHOT</version>

+  <version>${ipojo.core.snapshot}</version>

   <dependencies>

     <dependency>

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

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

-      <version>1.7.0-SNAPSHOT</version>

     </dependency>

     <dependency>

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

@@ -86,6 +85,7 @@
       <plugin>

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

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

+        <version>${ipojo.core.snapshot}</version>

         <executions>

           <execution>

             <goals>

@@ -100,7 +100,7 @@
         	<dependency>

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

         		<artifactId>org.apache.felix.ipojo.manipulator</artifactId>

-        		<version>1.7.0-SNAPSHOT</version>

+        		<version>${ipojo.core.snapshot}</version>

         	</dependency>

         </dependencies>

       </plugin>