diff --git a/its/pom.xml b/its/pom.xml index 526d24c42cb..5036d8a8298 100644 --- a/its/pom.xml +++ b/its/pom.xml @@ -20,7 +20,6 @@ - 5.15.0.80890 -server @@ -28,14 +27,7 @@ org.sonarsource.orchestrator sonar-orchestrator-junit5 - 4.4.0.1640 - - - org.sonarsource.scanner.msbuild - sonar-scanner-msbuild - ${scannerMsbuild.version} - zip - net46 + 4.6.0.1748 org.sonarsource.sonarqube @@ -70,36 +62,9 @@ org.apache.maven.plugins maven-surefire-plugin 3.2.2 - - - ${scannerMsbuild.version} - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.6.1 - - - get-scanner-2.1 - initialize - - get - - - sonar-scanner-msbuild - org.sonarsource.scanner.msbuild - zip - 2.1.0.0 - - - - - diff --git a/its/src/test/java/com/sonar/it/shared/TestUtils.java b/its/src/test/java/com/sonar/it/shared/TestUtils.java index 1e1457a72fe..b615c1a5744 100644 --- a/its/src/test/java/com/sonar/it/shared/TestUtils.java +++ b/its/src/test/java/com/sonar/it/shared/TestUtils.java @@ -156,7 +156,7 @@ private static String getProjectBaseDir(Path projectDir, String subProjectName) private static Build newScanner(Path projectDir) { // We need to set the fallback version to run from inside the IDE when the property isn't set return ScannerForMSBuild.create(projectDir.toFile()) - .setScannerVersion(System.getProperty("scannerMsbuild.version", "5.15.0.80890")) + .setScannerVersion(ScannerForMSBuild.LATEST_RELEASE) // In order to be able to run tests on Azure pipelines, the AGENT_BUILDDIRECTORY environment variable // needs to be set to the analyzed project directory.