versions using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube Version: 7.9.1
Sonar Maven Plugin version: 22.214.171.1245
Maven version: 3.5.3
java version: 1.8
I am Trying to create analysis report by running “mvn install sonar:sonar”
I started configuring my project using the information from
configure my settings.xml as provided in the above link, along with host -url I also passed sonar-login and sonar-password in the settings.xml.
configured my plugin like below
after configuration i ran my command “mvn install sonar:sonar” ended up with
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:126.96.36.1996:sonar (default-cli) on project RARMongoService: Not authorized. Analyzing this project requires to be authenticated. Please provide the val
ues of the properties sonar.login and sonar.password.
looking on to the error i did pass properties sonar.login and sonar.password in settings.xml