4.0.0 org.sonarsource.parent parent 40 com.sonarsource.it it-sonar-scanner 1.0-SNAPSHOT SonarSource :: IT :: SonarQube Scanner 2009 SonarSource http://www.sonarsource.com 5.0 -server org.sonarsource.orchestrator sonar-orchestrator 3.15.0.979 junit junit 4.11 test org.codehaus.sonar sonar-ws-client ${sonar.buildVersion} test org.sonarsource.sonarqube sonar-ws 5.6 org.easytesting fest-assert 1.4 test org.assertj assertj-core 2.1.0 org.apache.maven.plugins maven-surefire-plugin ${scanner.version} **/SonarScannerTestSuite.java download-qa-artifacts env.CI_BUILD_NUMBER org.codehaus.gmaven groovy-maven-plugin 2.0 compute-qa-version initialize execute (.*?)-SNAPSHOT<\/version>.*/ assert matcher.matches() def versionNoSnapshot = matcher[0][1] if (new StringTokenizer(versionNoSnapshot, ".").countTokens() == 2) { versionNoSnapshot += '.0' } project.properties['scanner.version'] = versionNoSnapshot + '.' + System.getenv()['CI_BUILD_NUMBER'] ]]> org.apache.maven.plugins maven-dependency-plugin 2.10 download-qa-scanner initialize get org.sonarsource.scanner.cli:sonar-scanner-cli:${scanner.version}:zip get-linux-scanner initialize get org.sonarsource.scanner.cli:sonar-scanner-cli:${scanner.version}:zip:linux get-windows-scanner initialize get org.sonarsource.scanner.cli:sonar-scanner-cli:${scanner.version}:zip:windows get-macosx-scanner initialize get org.sonarsource.scanner.cli:sonar-scanner-cli:${scanner.version}:zip:macosx