#!/usr/bin/env bash

mvn -s "${CI_PROJECT_DIR}/settings.xml" -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --no-transfer-progress "$@"
if [[ "$?" -ne 0 ]] ; then
  echo 'Maven command failed!'; exit 1
fi
