FELIX-155

Add a dependencyManagement tag in the main pom.
Use default version number of dependencies in mosgi.*/pom.xml modules.



git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@450902 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/mosgi.console.component/pom.xml b/mosgi.console.component/pom.xml
index 413c2c4..5ed557a 100644
--- a/mosgi.console.component/pom.xml
+++ b/mosgi.console.component/pom.xml
@@ -6,15 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
   
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <!--
-      Use a property to set felix version. 
-      Properties can be set once on the top-level POM
-    -->
-    <mosgi.console.ifc.version>0.9.0-SNAPSHOT</mosgi.console.ifc.version>
-  </properties>
-
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi JMX Console GUI component</name>
@@ -25,24 +16,11 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
-      <!-- A default value of version can be set on the top-level POM in a dependencyManagement section :
-        <dependencyManagement>
-	  <dependencies>
-	    <dependency>
-	      <groupId>${pom.groupId}</groupId>
-	      <artifactId>org.osgi.core</artifactId>
-	      <version>${pom.version}</version>
-	    </dependency>
-	    [...]
-	  </dependencies>
-	</dependencyManagement-->
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
-      <version>${mosgi.console.ifc.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -52,7 +30,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.console.gui/pom.xml b/mosgi.console.gui/pom.xml
index f2c929b..9f947ae 100644
--- a/mosgi.console.gui/pom.xml
+++ b/mosgi.console.gui/pom.xml
@@ -6,40 +6,32 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
 
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.console.ifc.version>0.9.0-SNAPSHOT</mosgi.console.ifc.version>
-  </properties>
-  
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi JMX Console Main GUI</name>
   <artifactId>org.apache.felix.mosgi.console.gui</artifactId>
+  <groupId>org.apache.felix</groupId>
   <version>0.9.0-SNAPSHOT</version>
 
   <dependencies>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
-      <groupId>${pom.groupId}</groupId>
+     <groupId>${pom.groupId}</groupId> 
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
-      <version>${mosgi.console.ifc.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -49,7 +41,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.console.ifc/pom.xml b/mosgi.console.ifc/pom.xml
index 8e0377a..a099d85 100644
--- a/mosgi.console.ifc/pom.xml
+++ b/mosgi.console.ifc/pom.xml
@@ -6,10 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
 
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-  </properties>
-
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi JMX Console Interface</name>
@@ -20,13 +16,11 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -36,7 +30,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.jmx.agent/pom.xml b/mosgi.jmx.agent/pom.xml
index 91eec75..1bde023 100644
--- a/mosgi.jmx.agent/pom.xml
+++ b/mosgi.jmx.agent/pom.xml
@@ -6,10 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
 
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-  </properties>
-
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi JMX agent</name>
@@ -20,19 +16,16 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -42,7 +35,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.jmx.httpconnector/pom.xml b/mosgi.jmx.httpconnector/pom.xml
index f3adfb0..2312d47 100644
--- a/mosgi.jmx.httpconnector/pom.xml
+++ b/mosgi.jmx.httpconnector/pom.xml
@@ -6,11 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
 
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.jmx.agent.version>0.9.0-SNAPSHOT</mosgi.jmx.agent.version>
-  </properties>
-
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi JMX httpconnector</name>
@@ -21,25 +16,21 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId>
-      <version>${mosgi.jmx.agent.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -49,7 +40,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.jmx.registry/pom.xml b/mosgi.jmx.registry/pom.xml
index 9114d26..c877adc 100644
--- a/mosgi.jmx.registry/pom.xml
+++ b/mosgi.jmx.registry/pom.xml
@@ -6,10 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
   
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-  </properties>
-  
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi JMX registry</name>
@@ -20,19 +16,16 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -42,7 +35,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.jmx.remotelogger/pom.xml b/mosgi.jmx.remotelogger/pom.xml
index 195b1c7..4eca165 100644
--- a/mosgi.jmx.remotelogger/pom.xml
+++ b/mosgi.jmx.remotelogger/pom.xml
@@ -5,10 +5,6 @@
     <artifactId>felix</artifactId>
     <version>0.8.0-SNAPSHOT</version>
   </parent>
-  
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-  </properties>
 
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
@@ -20,13 +16,11 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <!--dependency>
@@ -42,7 +36,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.jmx.rmiconnector/pom.xml b/mosgi.jmx.rmiconnector/pom.xml
index 4b7c5fd..cc7c09b 100644
--- a/mosgi.jmx.rmiconnector/pom.xml
+++ b/mosgi.jmx.rmiconnector/pom.xml
@@ -6,12 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
   
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.jmx.agent.version>0.9.0-SNAPSHOT</mosgi.jmx.agent.version>
-    <mosgi.jmx.registry.version>0.9.0-SNAPSHOT</mosgi.jmx.registry.version>
-  </properties>
-  
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi JMX rmiconnector</name>
@@ -22,31 +16,26 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId>
-      <version>${mosgi.jmx.agent.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.jmx.registry</artifactId>
-      <version>${mosgi.jmx.registry.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -56,7 +45,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.managedelements.bundlesprobes.tab/pom.xml b/mosgi.managedelements.bundlesprobes.tab/pom.xml
index 7e7f890..f46dc8c 100644
--- a/mosgi.managedelements.bundlesprobes.tab/pom.xml
+++ b/mosgi.managedelements.bundlesprobes.tab/pom.xml
@@ -6,11 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
   
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.console.ifc.version>0.9.0-SNAPSHOT</mosgi.console.ifc.version>
-  </properties>
-
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi Bundles management tab for the JMX console</name>
@@ -21,25 +16,21 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
-      <version>${mosgi.console.ifc.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -49,7 +40,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.managedelements.bundlesprobes/pom.xml b/mosgi.managedelements.bundlesprobes/pom.xml
index e960f4b..56b0153 100644
--- a/mosgi.managedelements.bundlesprobes/pom.xml
+++ b/mosgi.managedelements.bundlesprobes/pom.xml
@@ -6,11 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
   
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.console.ifc.version>0.9.0-SNAPSHOT</mosgi.console.ifc.version>
-  </properties>
-
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi JMX MBean for OSGi bundles management</name>
@@ -21,25 +16,21 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
-      <version>${mosgi.console.ifc.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -49,7 +40,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.managedelements.memoryprobe/pom.xml b/mosgi.managedelements.memoryprobe/pom.xml
index 2a38c52..a566824 100644
--- a/mosgi.managedelements.memoryprobe/pom.xml
+++ b/mosgi.managedelements.memoryprobe/pom.xml
@@ -6,12 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
   
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.console.ifc.version>0.9.0-SNAPSHOT</mosgi.console.ifc.version>
-    <mosgi.jmx.agent.version>0.9.0-SNAPSHOT</mosgi.jmx.agent.version>
-  </properties>
-  
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi JMX MBean for obr interaction</name>
@@ -22,31 +16,26 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
-      <version>${mosgi.console.ifc.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId>
-      <version>${mosgi.jmx.agent.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -56,7 +45,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.managedelements.obrprobe.tab/pom.xml b/mosgi.managedelements.obrprobe.tab/pom.xml
index 4d6386c..6563d12 100644
--- a/mosgi.managedelements.obrprobe.tab/pom.xml
+++ b/mosgi.managedelements.obrprobe.tab/pom.xml
@@ -6,11 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
   
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.console.ifc.version>0.9.0-SNAPSHOT</mosgi.console.ifc.version>
-  </properties>
-
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi obr remote manipulation tab for the JMX console</name>
@@ -21,25 +16,21 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
-      <version>${mosgi.console.ifc.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.bundlerepository</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -49,7 +40,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.managedelements.obrprobe/pom.xml b/mosgi.managedelements.obrprobe/pom.xml
index e7c7682..9ceb123 100644
--- a/mosgi.managedelements.obrprobe/pom.xml
+++ b/mosgi.managedelements.obrprobe/pom.xml
@@ -5,11 +5,6 @@
     <artifactId>felix</artifactId>
     <version>0.8.0-SNAPSHOT</version>
   </parent>
-  
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.console.ifc.version>0.9.0-SNAPSHOT</mosgi.console.ifc.version>
-  </properties>
 
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
@@ -21,31 +16,26 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
-      <version>${mosgi.console.ifc.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.bundlerepository</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -55,7 +45,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.managedelements.osgiprobes.tab/pom.xml b/mosgi.managedelements.osgiprobes.tab/pom.xml
index fd42163..226a90c 100644
--- a/mosgi.managedelements.osgiprobes.tab/pom.xml
+++ b/mosgi.managedelements.osgiprobes.tab/pom.xml
@@ -6,11 +6,6 @@
     <version>0.8.0-SNAPSHOT</version>
   </parent>
   
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.console.ifc.version>0.9.0-SNAPSHOT</mosgi.console.ifc.version>
-  </properties>
-  
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
   <name>Apache Felix MOSGi OSGi gateway status tab for the JMX console</name>
@@ -21,19 +16,16 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
-      <version>${mosgi.console.ifc.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -43,7 +35,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/mosgi.managedelements.osgiprobes/pom.xml b/mosgi.managedelements.osgiprobes/pom.xml
index 73e0992..93400ff 100644
--- a/mosgi.managedelements.osgiprobes/pom.xml
+++ b/mosgi.managedelements.osgiprobes/pom.xml
@@ -5,11 +5,6 @@
     <artifactId>felix</artifactId>
     <version>0.8.0-SNAPSHOT</version>
   </parent>
- 
-  <properties>
-    <felix.version>0.8.0-SNAPSHOT</felix.version>
-    <mosgi.console.ifc.version>0.9.0-SNAPSHOT</mosgi.console.ifc.version>
-  </properties>
 
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
@@ -21,25 +16,21 @@
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
-      <version>${mosgi.console.ifc.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.framework</artifactId>
-      <version>${felix.version}</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
@@ -49,7 +40,7 @@
       <plugin>
         <groupId>org.apache.felix.plugins</groupId>
         <artifactId>maven-osgi-plugin</artifactId>
-        <version>${felix.version}</version>
+        <!--version>${felix.version}</version-->
         <extensions>true</extensions>
         <configuration>
           <osgiManifest>
diff --git a/pom.xml b/pom.xml
index 8967ab4..d4a7645 100644
--- a/pom.xml
+++ b/pom.xml
@@ -106,12 +106,10 @@
         <module>mosgi.managedelements.obrprobe</module>
         <module>mosgi.managedelements.obrprobe.tab</module>
         <module>mosgi.managedelements.memoryprobe</module>
-
         <module>ipojo.plugin</module>
         <module>ipojo.arch</module>
       </modules>
     </profile>
-    
     <profile>    
       <id>jdk1.4</id>
       <activation>
@@ -122,9 +120,49 @@
         <module>ipojo.arch</module>
       </modules>
     </profile>
-
   </profiles>
 
+  <!-- Specify a default version number for dependencies -->
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>org.osgi.core</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>org.osgi.compendium</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>org.apache.felix.framework</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
+	<artifactId>org.apache.felix.bundlerepository</artifactId>
+	<version>0.8.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>org.apache.felix.mosgi.jmx.registry</artifactId>
+        <version>0.9.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId>
+        <version>0.9.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
+        <version>0.9.0-SNAPSHOT</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
   <repositories>
     <!-- For snapshots (no release jars or non-apache jars)           -->
     <repository>