Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project profile-service: Not authorized. Please check the properties sonar.login and sonar.password. -> [Help 1]

  • I am using Gitlab CI/CD
  • Maven configuration for Java
  • I get the following error “Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project profile-service: Not authorized. Please check the properties sonar.login and sonar.password. -> [Help 1]

I can’t get over that error, I followed the step by step configuration. but unable to build… all pipeline are failing

Did someone managed to solve this issue?

Hi @laminepro

Welcome to the community and thanks for posting!
If you search the community forum for:
Not authorized. Please check the properties sonar.login and sonar.password
you will find a few posts with solutions or directions. Did you try that?