By default this version is disabling force authentication for 8.6 and greater.
Also it allows to enable default behaviour, which will be used.
dependency 'org.postgresql:postgresql:42.2.17'
dependency 'org.reflections:reflections:0.9.12'
dependency 'org.simpleframework:simple:4.1.21'
- dependency 'org.sonarsource.orchestrator:sonar-orchestrator:3.32.0.2670'
+ dependency 'org.sonarsource.orchestrator:sonar-orchestrator:3.34.0.2692'
dependency 'org.sonarsource.update-center:sonar-update-center-common:1.23.0.723'
dependency 'org.subethamail:subethasmtp:3.1.7'
dependency 'org.yaml:snakeyaml:1.26'
}
public static String downloadApiDefinition() {
- OrchestratorBuilder builder = Orchestrator.builderEnv();
+ OrchestratorBuilder builder = Orchestrator.builderEnv()
+ .defaultForceAuthentication();
builder.setEdition(COMMUNITY);
builder.setZipFile(FileLocation.byWildcardMavenFilename(new File("../sonar-application/build/distributions"), "sonar-application-*.zip").getFile())
.setOrchestratorProperty("orchestrator.workspaceDir", "build");