#!/bin/bash
set -xe
cd ..
PROJECT_PREFIX=`readlink -e .`
cd src/monasca-thresh-${TARBALL_VERSION}/thresh/
cp -a /usr/share/java/monasca-common ../../../kit/m2
$PROJECT_PREFIX/kit/apache-maven-3.3.9/bin/mvn -Dmaven.repo.local=$PROJECT_PREFIX/kit/m2 --settings $PROJECT_PREFIX/kit/m2/settings.xml --strict-checksums -o package
