Sonar-maven-plugin ERROR

418 views
Skip to first unread message

anita....@gmail.com

unread,
Nov 9, 2016, 2:38:27 PM11/9/16
to SonarQube
Jenkins job is failing to upload results to sonarqube , with below sonar plugin error. Job uses Jenkins sonar plugin.

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project automation-parent: Execution default-cli of goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar failed: An API incompatibility was encountered while executing org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar: java.lang.NoSuchMethodError: org.sonar.api.resources.Project.getFileSystem()Lorg/sonar/api/resources/ProjectFileSystem;


Has anyone seen this issue before. I could not find a solution on stack overflow. This is currently blocking our customer builds. 
This error came up after upgrading sonarqube to version 5.6.3. 
sonar-mavem-plugin version is the latest which is 3.2
Jenkins sonarqube plugin version is upgraded to 2.5 

Can someone help in resolving this issue?

Thanks

Julien HENRY

unread,
Nov 15, 2016, 4:29:45 AM11/15/16
to SonarQube, anita....@gmail.com
Hi,

The problem is that you have one incompatible plugin in your SonarQube server. Please check folder extension/plugins and look for compatibility matrix.
Showing us the full stacktrace (-X) may also help to determine the offending plugin.

++

Julien
Reply all
Reply to author
Forward
0 new messages