Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746, not authorized

Sonarqube version - Version 8.5.1 (build 38104)
Scanner plugin version - 2.10

Issue: I’m trying to run “mvn sonar:sonar -Dsonar.pitest.mode=reuseReport -Dsonar.host.url= -Dsonar.java.source=1.8” from the Jenkins, but I’m getting an error that suggest to provide sonar.login and sonar.password.
However, the sonarqube has been set with anonymous access. And no token has been passed in the Jenkins side.

Any suggestion is appreciable.

Also, if I want to try with the token what is the property that I need to pass, I tried with sonar.login="" as well as sonar.token="" but no go.

Thank you.

A post was merged into an existing topic: Failed executing goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746, not authorized