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/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>