Sonarqube 7.9.1 LTS developer version giving maven error

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonarqube 7.9.1 LTS
  • what are you trying to achieve - Build a pipeline from Jenkins
  • what have you tried so far to achieve this - connectivity from Jenkins to Sonrqube via token

[Jenkins]

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.1.1688:sonar (default-cli) on project sP: Unable to load component class org.sonar.scanner.scan.ProjectLock: Unable to load component class org.sonar.api.batch.fs.internal.DefaultInputProject: Unable to load component class org.sonar.scanner.scan.ProjectBuildersExecutor: Unable to load component class org.sonar.plugins.github.PullRequestProjectBuilder: org.sonar.plugins.github.PullRequestProjectBuilder has unsatisfied dependency ‘class org.sonar.plugins.github.PullRequestFacade’ for constructor ‘public org.sonar.plugins.github.PullRequestProjectBuilder(org.sonar.plugins.github.GitHubPluginConfiguration,org.sonar.plugins.github.PullRequestFacade,org.sonar.api.batch.AnalysisMode)’ from org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@3b6c2be6:432<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@1d622556:63<| -> [Help 1]

Hi,

Welcome to the community!

According to the docs and Jira the latest version of SonarScanner for Maven is 3.6.0. If you’ve pinned a specific scanner version in your pom, you should remove it and try again.

 

Ann