+if [ "x${VERSION}" == "x" ]; then
+ echo "Lithium or sooner, different path needs to be searched."
+ VERSION=`grep -m1 '<version>' ${WORKSPACE}/integration/distribution/distributions/karaf/pom.xml | awk -F'[<|>]' '/version/ { printf $3 }'`
+fi
+echo "VERSION: ${VERSION}"