Skip to content

SonarQube GitHub Plugin deprecated #1

@txuslee

Description

@txuslee

Hi @Paldom,

Using the latest version tagged v1.2 that installs sonarqube:7.9.2-community we detected that running sonar-scanner on a Swift project throws the following exception:

15:42:37.131 ERROR: Error during SonarScanner execution java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.ProjectLock at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:65) [...] Caused by: org.picocontainer.injectors.AbstractInjector$UnsatisfiableDependenciesException: org.sonar.plugins.github.PullRequestProjectBuilder has unsatisfied dependency [...]

This error is caused by the sonar-github-plugin, that was deprecated some time ago, and stopped to be supported starting from SonarQube 7.2.

WORKAROUND: Remove the plugin from your server extensions/plugins directory, and restart the server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions