Error out if mvn is unavailable to build mock-couchbase
@@ -10,5 +10,9 @@ if [ -d mock-couchbase/.git ];
git -C mock-couchbase checkout b929a9f99a31a233c43bd94b6a696ad966206e02
fi
pushd mock-couchbase
-mvn package -Dmaven.test.skip=true
+if mvn package -Dmaven.test.skip=true; then
popd
+else
+ echo "Error building mock-couchbase"
+ exit 1
+fi
