octo-technology / sonar-objective-c

Sonar Plugin for Objective C
517 stars 208 forks source link

Sonar can't find the objective-c plugin #86

Open vinsp opened 9 years ago

vinsp commented 9 years ago

I downloaded and built the plugin, and copied the jar to the extensions\plugins folder of Sonar, then tried to start an analysis of an ObjectiveC project, using the sonar-properties you show as example, but I get the following error.

23:39:40.328 INFO - Load project referentials... 23:39:40.628 INFO - Load project referentials done: 300 ms 23:39:40.628 INFO - Load project settings 23:39:40.882 INFO - Loading technical debt model... 23:39:40.897 INFO - Loading technical debt model done: 15 ms 23:39:40.902 INFO - Apply project exclusions 23:39:40.950 WARN - SCM provider autodetection failed. No SCM provider claims to support this project. Please use sonar.scm.provider to define SCM of your project. 23:39:40.951 INFO - ------------- Scan Project 23:39:40.955 INFO - Load module settings 23:39:41.061 INFO - Language is forced to objc INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ Total time: 3.039s Final Memory: 30M/596M INFO: ------------------------------------------------------------------------ ERROR: Error during Sonar runner execution ERROR: Unable to execute Sonar ERROR: Caused by: You must install a plugin that supports the language 'objc' ERROR: ERROR: To see the full stack trace of the errors, re-run SonarQube Runner with the -e switch. ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.

cc: @fhelg, @cyrilpicat

gbazilio commented 8 years ago

Stuck with this too

durga0303 commented 8 years ago

same issue

plaetzchen commented 8 years ago

I have the exact same issue running SonarQube 5.4 and the latest official release. Any fixes?

Nagesh-Chandan commented 8 years ago

I'm using SonarQube 5.6 and has the same issue. any solution yet?.

Nagesh-Chandan commented 8 years ago

I have commented out the 'sonar.language=objc' line from properties file and it worked!!.

nishanthchandra commented 7 years ago

sonarqube is not recognizing objective-C plugin. Does anyone know of any workaround ?

haithngnbak commented 7 years ago

the same issue SonarQube 5.4