Default utility tool to launch a Sonar analysis without any dependency on third party tool like Maven, Ant, ...
Questions tagged [sonar-runner]
905 questions
0
votes
1 answer
reg: Manage Dashboards link in Sonar
In Sonar version 3.4.1 a Manage Dashboards link is used for creating global and project dashboards from an admin ID. As a part of the security config setup, we can create new users. Manage dashboard link, however, is visible for new users we've just…
0
votes
1 answer
Sonar multi module consolidated report for afferent and efferent coupling
I have a multi module maven project and need to generate a report for afferent (ca) and efferent (ce) couplings across the modules.
Currently when I run mvn sonar:sonar for a multi module project, the ca and ce are reported at module level. This…
0
votes
1 answer
sonar-3.5.1 deploying project on sonar server but code not showing
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,…

shekhar verma
- 489
- 2
- 9
- 22
0
votes
1 answer
Dispalying sonar widget according to the technology
I have created a dummy widget and its displayed in the sonar dasboard after configuring the widget. Now the widget is displayed in every project. How can I show the widget for a specific technology(like objc) and hide it for other technologies?

rohan lukose
- 101
- 1
- 13
0
votes
1 answer
java project not getting analysed in sonar 3.3.5
When I give mvn sonar:sonar for sample java project in sonar I get this error.The sample project is from link
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building…

rohan lukose
- 101
- 1
- 13
0
votes
1 answer
C++ community plugin: Sonar-runner scans wrong file types + Lexical errors
I have setup a Sonar server and am trying to pull some metrics by setting up a test project, but I encounter some problems.
Environment:
OS: Windows Server 2008 R2 / amd64 / 6.1
App Server:Tomcat/7.0.40I, deployed the Sonar WAR file (3.5.1).
DB:…

straumli
- 51
- 2
- 9
0
votes
1 answer
Sonar runner deletes project and fails
I'm trying to run sonar on a .NET project.
I have installed all the c# plugin and I'm trying to run sonar runner on my project.
The problem is that somewhere in the process it deletes all the files. After that it gives an error that it can't run the…

Kenneth
- 28,294
- 6
- 61
- 84
0
votes
1 answer
Error while analyzing sonar project
Hi I have a custom sonar plugin for RPG and am having a sonar project that I am trying to run.
Here's my plugin class:
@Properties({
@Property(key = "rpg", defaultValue = "rpg", name = "File suffixes",
description = "Comma-separated list of…

Sumit Bisht
- 1,507
- 1
- 16
- 31
0
votes
1 answer
Sonar Configuration on Windows 2003 server
I have installed sonar, sonar-runner and hudson on windows 7 machine its working fine , but when I want to replicate these steps on my production server which has windows 2003 server I got the error of fx-cop file path although I have provided the…

Nazish Ali Rizvi
- 175
- 6
- 15
0
votes
1 answer
How to run sonar-runner with module's baseDir set to root project dir
I have the following project structure:
module1
module2
module2.1
module2.2
module2.3
And have sonar-project.properties defined…

mr.nothing
- 5,141
- 10
- 53
- 77
0
votes
1 answer
Jenkins Sonar fails on Periodic Jobs but works on manually started jobs
Im using Sonar with Sonar Runner and Jenkins.
Strange thing is that when i start the job manually everything works fine but on the periodic nightly builds it fails and says:
org.sonar.runner.RunnerException: No files matching pattern "java" in…

Hannes
- 442
- 1
- 6
- 23
0
votes
1 answer
Sonar not finding dependencies in sonar.api.resources
I'm attempting to run static analysis on my project using sonar runner but I'm getting the following error:
Exception in thread "main" org.sonar.runner.RunnerException:…

smstromb
- 586
- 2
- 7
- 19
0
votes
2 answers
Sonar scm activity plugin?
I want to use scm activity plugin for tfs (with sonar and sonar runner) but it does not work, what is the problem,thanks
Error log;
13:49:13.257 INFO org.sonar.INFO - Retrieve SCM info for C:\Program Files (x86) …

user201780
- 55
- 1
- 9
0
votes
1 answer
sonar.jdbc.url parameter overwritten in sonar-runner and jenkins
I have a problem using Jenkins and Sonar. Here is my setup: a main linux server hosting Jenkins and Sonar and a windows vm to build a project. The windows vm is configured as a Jenkins slave, and the job I defined can successfully get project source…

Alexis
- 707
- 8
- 33
0
votes
1 answer
Sonar Security in a Multiple Project Analysis
I have a single Sonar instance analyzing codebases of different projects owned by different customers. I need to ensure non of the project teams can manipulate the sonar/machine security to access codebases of other projects (For example through a…

Hasith
- 1,749
- 20
- 26