@Test public void maven_location_before_2_1() { MavenLocation location = SonarScannerInstaller.mavenLocation(Version.create("1.2.3")); assertThat(location.getPackaging()).isEqualTo("zip"); assertThat(location.getVersion()).isEqualTo("1.2.3"); assertThat(location.getGroupId()).isEqualTo("org.codehaus.sonar-plugins"); assertThat(location.getArtifactId()).isEqualTo("sonar-runner"); }
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);  }