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>