#!/bin/bash
set -eu

BUILD_OPTS="-Dmaven.test.failure.ignore=true"

mvn -B ${BUILD_OPTS} clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar

#!/bin/bash
set -eu

BUILD_OPTS="-Dmaven.test.failure.ignore=true"

mvn -B ${BUILD_OPTS} clean org.jacoco:jacoco-maven-plugin:0.7.4.201502262128:prepare-agent install sonar:sonar

Add a workaround for SonarQube error
Add a workaround for SonarQube error

See: http://stackoverflow.com/questions/30459260/jacoco-sonarqube-incompatible-version-1007
