0

I have upgraded my sonar version from sonar-3.2 to sonar-3.5.1 and upgraded sonar-runner from sonar-runner-1.1 to sonar-runner-2.2.2, now when i am deploying project on newly installed sonar 3.5.1 it run successfully and showing ANALYSIS SUCCESSFUL, it also show project name on sonar server when i use localhost:9000 on browser but code is not showing there, no violations are coming etc. i am using sonar in two ways and both results the same. Two ways are: 1. using sonar standalone through sonar runner from cmd. 2. integrating sonar with Jenkins(1.515) and using maven(3.0.4)

when i do sonar analysis on sonar 3.2 everything is working fine in both of the above cases but problem comes only when i use sonar 3.5.1. Can anybody help me out on this issue?? Please suggest what would be the possible way to overcome this issue.. your revert will be appreciable.. Thanks in advance!!

Please refer below for logs

enter image description here

and sonar dashboard

enter image description here

shekhar verma
  • 489
  • 2
  • 9
  • 22

1 Answers1

0

So I do confirm that the Sonar Java plugins have been deleted from the extensions/plugins directory and that's why you don't get any measures/violations when analysing a java project. Here is the link to download version 1.2 of the Sonar Java plugin ecosystem : http://docs.codehaus.org/download/attachments/230396085/JavaEcosystem-1.2.zip. You just have to decompress this archive, place all jar(s) in the extensions/plugins directory and relaunch the Sonar server.

  • thanks Freddy it works.. but I would like to know that when I was using sonar till sonar-version-3.2, I was not at all required to place sonar java plugin ecosystem in extensions/plugin directory for analyzing a project. please let me know is it the requirement from sonar-version-3.5?? – shekhar verma Jul 01 '13 at 08:07
  • Indeed Shekhar as the Sonar Java plugins are no more part of the Sonar platform core since Sonar 3.4 (see http://jira.codehaus.org/browse/SONAR-3934) – Freddy - SonarSource Team Jul 01 '13 at 13:03