diff options
Diffstat (limited to 'sonar-ws-generator')
-rw-r--r-- | sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java b/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java index 4659f739206..b68d2f6077c 100644 --- a/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java +++ b/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java @@ -35,7 +35,8 @@ public class ApiDefinitionDownloader { } 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"); |