4.0.0 org.sonarsource.parent parent 54 com.sonarsource.it it-sonar-scanner 1.0-SNAPSHOT SonarSource :: IT :: SonarScanner CLI 2009 SonarSource http://www.sonarsource.com 7.9.1 com.google.code.findbugs jsr305 2.0.3 provided org.sonarsource.orchestrator sonar-orchestrator 3.29.0.2543 junit junit 4.12 test org.sonarsource.sonarqube sonar-ws ${sonar.buildVersion} org.assertj assertj-core 3.12.2 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 3.0.2 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