Introduce dependency management for OSGi core artifacts
authorŁukasz Dywicki <ldywicki@apache.org>
Wed, 14 Dec 2011 22:36:30 +0000 (22:36 +0000)
committerŁukasz Dywicki <ldywicki@apache.org>
Wed, 14 Dec 2011 22:36:30 +0000 (22:36 +0000)
Signed-off-by: Lukasz Dywicki <luke@code-house.org>
git-svn-id: https://svn.apache.org/repos/asf/karaf/webconsole/trunk@1214512 13f79535-47bb-0310-9956-ffa450edef68

core/pom.xml
pom.xml

index c3341b6..7f718cd 100644 (file)
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.core</artifactId>
-            <version>4.2.0</version>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.compendium</artifactId>
-            <version>4.2.0</version>
         </dependency>
 
         <!-- WICKET DEPENDENCIES -->
diff --git a/pom.xml b/pom.xml
index 7ff5c3d..34532bf 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -27,6 +27,7 @@
     <packaging>pom</packaging>
 
     <properties>
+        <osgi.version>4.2.0</osgi.version>
         <jetty.version>6.1.25</jetty.version>
         <felix-metatype.version>1.0.4</felix-metatype.version>
         <felix-prefs.version>1.0.4</felix-prefs.version>
                 <artifactId>org.apache.felix.prefs</artifactId>
                 <version>${felix-prefs.version}</version>
             </dependency>
+
+            <dependency>
+                <groupId>org.osgi</groupId>
+                <artifactId>org.osgi.core</artifactId>
+                <version>${osgi.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.osgi</groupId>
+                <artifactId>org.osgi.compendium</artifactId>
+                <version>${osgi.version}</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>