Update apache karaf to version 4.2.3
Change-Id: If9aadfa2715a3f100df6e34e25789e74399759a0
diff --git a/tools/package/bin/onos-backup b/tools/package/bin/onos-backup
index 5082957..dc1bff5 100755
--- a/tools/package/bin/onos-backup
+++ b/tools/package/bin/onos-backup
@@ -5,7 +5,7 @@
ONOS_HOME=${ONOS_HOME:-$(cd $(dirname $0)/.. >/dev/null 2>&1 && pwd)}
ONOS_DEFAULT_ARCHIVE=$(dirname $ONOS_HOME)/onos-data.tar.gz
-ONOS_KARAF=$ONOS_HOME/apache-karaf-4.2.2
+ONOS_KARAF=$ONOS_HOME/apache-karaf-4.2.3
# Fetch the name of the archive or use a default if none is specified
archive=${1:-$ONOS_DEFAULT_ARCHIVE}
diff --git a/tools/package/bin/onos-restore b/tools/package/bin/onos-restore
index 6535f33..7416eb2 100755
--- a/tools/package/bin/onos-restore
+++ b/tools/package/bin/onos-restore
@@ -5,7 +5,7 @@
ONOS_HOME=${ONOS_HOME:-$(cd $(dirname $0)/.. >/dev/null 2>&1 && pwd)}
ONOS_DEFAULT_ARCHIVE=$(dirname $ONOS_HOME)/onos-data.tar.gz
-ONOS_KARAF=$ONOS_HOME/apache-karaf-4.2.2
+ONOS_KARAF=$ONOS_HOME/apache-karaf-4.2.3
# Fetch the name of the archive or use a default if none is specified
archive=${1:-$ONOS_DEFAULT_ARCHIVE}
diff --git a/tools/package/deb/prerm b/tools/package/deb/prerm
index d14f582..9d3aa62 100755
--- a/tools/package/deb/prerm
+++ b/tools/package/deb/prerm
@@ -14,7 +14,7 @@
# Clean up onos runtime directories
# TODO don't hardcode karaf version
-rm -rf /opt/onos/apache-karaf-4.2.2/
+rm -rf /opt/onos/apache-karaf-4.2.3/
rm -rf /opt/onos/var/*
rm -rf /opt/onos/config
rm -rf /opt/onos/options
diff --git a/tools/package/etc/org.apache.karaf.features.cfg b/tools/package/etc/org.apache.karaf.features.cfg
index 37bc7a5..515c2a8 100644
--- a/tools/package/etc/org.apache.karaf.features.cfg
+++ b/tools/package/etc/org.apache.karaf.features.cfg
@@ -20,46 +20,44 @@
#
# Comma separated list of features repositories to register by default
#
-featuresRepositories = \
- mvn:org.apache.karaf.features/standard/4.2.2/xml/features, \
+featuresRepositories = \ mvn:org.apache.karaf.features/standard/4.2.3/xml/features, \
mvn:org.onosproject/onos-features/$ONOS_VERSION/xml/features, \
- mvn:org.apache.karaf.features/enterprise/4.2.2/xml/features, \
- mvn:org.apache.karaf.features/spring/4.2.2/xml/features, \
- mvn:org.apache.karaf.features/standard/4.2.2/xml/features, \
- mvn:org.apache.karaf.features/framework/4.2.2/xml/features
+ mvn:org.apache.karaf.features/enterprise/4.2.3/xml/features, \
+ mvn:org.apache.karaf.features/spring/4.2.3/xml/features, \
+ mvn:org.apache.karaf.features/standard/4.2.3/xml/features, \
+ mvn:org.apache.karaf.features/framework/4.2.3/xml/features
#
# Comma separated list of features to install at startup
#
featuresBoot = \
- instance/4.2.2, \
- package/4.2.2, \
- log/4.2.2, \
- ssh/4.2.2, \
- framework/4.2.2, \
- system/4.2.2, \
- eventadmin/4.2.2, \
- feature/4.2.2, \
- shell/4.2.2, \
- management/4.2.2, \
- service/4.2.2, \
- jaas/4.2.2, \
- deployer/4.2.2, \
- diagnostic/4.2.2, \
- (wrap/2.5.4), \
- (bundle/4.2.2, \
- config/4.2.2, \
- kar/4.2.2, \
- webconsole/4.2.2, \
- scr/4.2.2, \
- war/4.2.2), \
- (onos-netty/$ONOS_VERSION), \
- (onos-api/$ONOS_VERSION, \
- onos-core/$ONOS_VERSION, \
- onos-cli/$ONOS_VERSION, \
- onos-rest/$ONOS_VERSION, \
- onos-gui/$ONOS_VERSION), \
- (ssh/4.2.2)
+ (instance/4.2.3, \
+ package/4.2.3, \
+ log/4.2.3, \
+ ssh/4.2.3, \
+ framework/4.2.3, \
+ system/4.2.3, \
+ eventadmin/4.2.3, \
+ feature/4.2.3, \
+ shell/4.2.3, \
+ management/4.2.3, \
+ service/4.2.3, \
+ jaas/4.2.3, \
+ deployer/4.2.3, \
+ diagnostic/4.2.3, \
+ wrap/2.6.1, \
+ bundle/4.2.3, \
+ config/4.2.3, \
+ kar/4.2.3, \
+ webconsole/4.2.3, \
+ scr/4.2.3, \
+ war/4.2.3), \
+ (onos-netty/$ONOS_VERSION, \
+ onos-api/$ONOS_VERSION, \
+ onos-core/$ONOS_VERSION, \
+ onos-cli/$ONOS_VERSION, \
+ onos-rest/$ONOS_VERSION, \
+ onos-gui/$ONOS_VERSION)
#
diff --git a/tools/package/onos-prep-karaf b/tools/package/onos-prep-karaf
index 4b845a6..54a36ff 100755
--- a/tools/package/onos-prep-karaf
+++ b/tools/package/onos-prep-karaf
@@ -12,7 +12,7 @@
KARAF_PATCHES=$5
SANDBOX=${6:-.}
-KARAF_VERSION="4.2.2"
+KARAF_VERSION="4.2.3"
ONOS_SECURITY_MODE="false"
PREFIX="onos-$ONOS_VERSION"
diff --git a/tools/package/onos_stage.py b/tools/package/onos_stage.py
index 6ef1af1..7ddeff9 100755
--- a/tools/package/onos_stage.py
+++ b/tools/package/onos_stage.py
@@ -27,7 +27,7 @@
written_files = set()
now = time.time()
-karaf_version = "4.2.2"
+karaf_version = "4.2.3"
karaf_system = "apache-karaf-" + karaf_version + "/system/"
def addFile(tar, dest, file, file_size):