diff --git a/src/main/java/net/educoder/ecsonar/services/SonarService.java b/src/main/java/net/educoder/ecsonar/services/SonarService.java index c1eef9b..8c307a7 100644 --- a/src/main/java/net/educoder/ecsonar/services/SonarService.java +++ b/src/main/java/net/educoder/ecsonar/services/SonarService.java @@ -36,8 +36,8 @@ public class SonarService { @Value("${sonar.url}") String sonarUrl; - @Value("${sonar.token}") - String sonarToken; +// @Value("${sonar.token}") +// String sonarToken; @Value("${extract.path}") String extractProgramPath; @@ -124,7 +124,7 @@ public class SonarService { "-Dsonar.host.url=" + sonarUrl + " " + "-Dsonar.sourceEncoding=utf-8 " + "-Dsonar.projectKey=" + key + " " + - "-Dsonar.login=" + sonarToken + " " + +// "-Dsonar.login=" + sonarToken + " " + "-Dsonar.java.binaries=./ " + "-Dsonar.projectBaseDir=" + projectPath; log.info("projectPath:{},key:{}, command: {}", projectPath,key, command);