Sonarqube maven plugin can't call bitbucket API

Since 26th of June the bitbucket API has changed; the method returns ‘response status of 410 Gone’.

Apparently the method call is crucial for the latest version of sonarqube maven plugin so our build fails:

10:06:52 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project prime: POST returned a response status of 410 Gone → [Help 1]
10:06:52 [ERROR]
10:06:52 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
10:06:52 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
10:06:52 [ERROR]
10:06:52 [ERROR] For more information about the errors and possible solutions, please read the following articles:
10:06:52 [ERROR] [Help 1] MojoExecutionException - Apache Maven - Apache Software Foundation

Our call to run mvn sonar plugin on Jenkins:

verify sonar:sonar

Hi Franck,

Which version of SonarQube are you using ?



Hi Mickaël!

Our SonarQube server’s version is: Version 7.1 (build 11001)



Hi Frank,

Unfortunately this version is not supported anymore, and calls to the version 1.0 of Bitbucket APIs have ended since 7.4.

We can only recommend you to upgrade to a newer version.


1 Like


Thanks, that did the trick.