@Test public void maven_location_of_2_5() { MavenLocation location = SonarScannerInstaller.mavenLocation(Version.create("2.5")); assertThat(location.getPackaging()).isEqualTo("zip"); assertThat(location.getVersion()).isEqualTo("2.5"); assertThat(location.getGroupId()).isEqualTo("org.sonarsource.scanner.cli"); assertThat(location.getArtifactId()).isEqualTo("sonar-scanner-cli"); }
static MavenLocation mavenLocation(Version scannerVersion) { return mavenLocation(scannerVersion, null); }
SonarScannerInstaller { static MavenLocation mavenLocation(Version scannerVersion) { return mavenLocation(scannerVersion, null); } }
SonarScannerInstaller { static MavenLocation mavenLocation(Version scannerVersion) { return mavenLocation(scannerVersion, null); } SonarScannerInstaller(Locators locators); }
SonarScannerInstaller { static MavenLocation mavenLocation(Version scannerVersion) { return mavenLocation(scannerVersion, null); } SonarScannerInstaller(Locators locators); File install(Version scannerVersion, File toDir, boolean useOldScript); File install(Version scannerVersion, @Nullable String classifier, File toDir, boolean useOldScript); }
SonarScannerInstaller { static MavenLocation mavenLocation(Version scannerVersion) { return mavenLocation(scannerVersion, null); } SonarScannerInstaller(Locators locators); File install(Version scannerVersion, File toDir, boolean useOldScript); File install(Version scannerVersion, @Nullable String classifier, File toDir, boolean useOldScript);  }