#!/bin/bash
set -xe
PROJECT_PREFIX=`readlink -e .`
cd src/concurrentlinkedhashmap-concurrentlinkedhashmap-lru-1.3.1/
$PROJECT_PREFIX/kit/apache-maven-3.2.5/bin/mvn -Dmaven.repo.local=$PROJECT_PREFIX/kit/m2 --settings $PROJECT_PREFIX/kit/m2/settings.xml --strict-checksums -o install:install-file -Dfile=lib/cache-benchmark/benchmark-fwk.jar -DpomFile=lib/cache-benchmark/pom.xml
$PROJECT_PREFIX/kit/apache-maven-3.2.5/bin/mvn -Dmaven.repo.local=$PROJECT_PREFIX/kit/m2 --settings $PROJECT_PREFIX/kit/m2/settings.xml --strict-checksums -o -Dmaven.test.skip=true package
