Issues with a Maven plugin?

I’m running into a weird issue with sonar-maven-plugin not found in the log so I updated the POM by adding the dependency below and still getting below error. Let me know your thoughts???

<dependency>

<groupId>org.sonarsource.scanner.maven</groupId>

<artifactId>sonar-maven-plugin</artifactId>

<version>3.6.0.1398</version>

  1. [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project CompanyConnect: Validation of project reactor failed:
  2. [ERROR] o To use the property sonar.branch.name, the branch plugin is required but not installed. See the documentation of branch support: https://redirect.sonarsource.com/doc/branches.html.

[ERROR] -> [Help 1]

This is a terrible idea. Now your project depends on Maven plugin. It is the same as adding this jar to your classpath when launching the application.

Remove it and execute mvn sonar:sonar one more time, and then show the logs.

Sorry for the very late reply, but the error message indicates that you are using the parameter sonar.branch.name with the community edition. The community edition doesn’t support branches.