4.0.0 org.sonarsource.parent parent 49 com.sonarsource.it it-sonar-scanner 1.0-SNAPSHOT SonarSource :: IT :: SonarQube Scanner 2009 SonarSource http://www.sonarsource.com 6.7 com.google.code.findbugs jsr305 2.0.3 provided org.sonarsource.orchestrator sonar-orchestrator 3.22.0.1791 junit junit 4.12 test org.sonarsource.sonarqube sonar-ws ${sonar.buildVersion} test org.sonarsource.sonarqube sonar-ws 6.7 org.assertj assertj-core 3.11.1 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