octo-technology/sonar-objective-c

Sonar can't find the objective-c plugin

vinsp opened this issue ยท 7 comments

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

Stuck with this too

same issue

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

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

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

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

the same issue SonarQube 5.4