Hi all,
I need the help on below issue and I’m new to the sonar maven configuration

Sonarqube version : 7.5
Maven version : 3.3.9

I am able to execute following three commands and it will update analysis report to SonarQube server.
mvn clean verify sonar:sonar
mvn clean install
mvn sonar:sonar

Should I execute this command again “mvn org.sonarsource.scanner.maven:sonar-maven-plugin:”? I am not sure what is purpose of that command.

Thanks for your support in advance

This command executes sonar goal of the latest version of the sonar plugin.

If we assume that:

  • is the latest version
  • you didn’t overwrite change default groups ids in settings.xml

then mvn org.sonarsource.scanner.maven:sonar-maven-plugin: is equal to mvn sonar:sonar.