ONOS-1323 Upgrading environment to use Apache Karaf 3.0.3
Requires restart of any dev shell sessions that may have KARAF_VERSION=3.0.2 already set.
Developers that have their own local Karaf will have to run 'onos-setup-karaf <ip-address>' command
Change-Id: Iba234b3cd5af89de6dd249c97cac97525364cc34
diff --git a/pom.xml b/pom.xml
index d487a53..393052e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -71,6 +71,8 @@
<netty4.version>4.0.23.Final</netty4.version>
<copycat.version>0.4.0.onos</copycat.version>
<openflowj.version>0.3.9.oe</openflowj.version>
+ <karaf.version>3.0.3</karaf.version>
+ <jersey.version>1.19</jersey.version>
</properties>
<distributionManagement>
@@ -194,19 +196,19 @@
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-servlet</artifactId>
- <version>1.19</version>
+ <version>${jersey.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sun.jersey.jersey-test-framework</groupId>
<artifactId>jersey-test-framework-core</artifactId>
- <version>1.19</version>
+ <version>${jersey.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.jersey.jersey-test-framework</groupId>
<artifactId>jersey-test-framework-grizzly2</artifactId>
- <version>1.19</version>
+ <version>${jersey.version}</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -241,10 +243,18 @@
<version>1.9.8</version>
<scope>provided</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.karaf.features</groupId>
+ <artifactId>org.apache.karaf.features.core</artifactId>
+ <version>${karaf.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
<dependency>
<groupId>org.apache.karaf.shell</groupId>
<artifactId>org.apache.karaf.shell.console</artifactId>
- <version>3.0.2</version>
+ <version>${karaf.version}</version>
<scope>provided</scope>
</dependency>