Org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar

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:3.6.0.1398:sonar”? 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:

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

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

@agabrys how i cant run mvn sonar with local sonar-maven-plugin