We use Jenkins for both building application and running sonar analysis through maven on the code.
I am able create a local server, and run sonarqube analysis using sonar runner.
I was able to connect my eclipse instance to the company sonarqube runner and get the issues from existing analysis on eclipse. But while running 'Analyse' from eclipse, it fails.
It returns, You must define the following mandatory properties for 'Unknown': sonar.sources
While I looked into the process, I found that, a temporary sonar-runner is downloaded in the temp folder and a sonar-project.properties is created and the analysis is run using that. This property file does not have the sonar.sources defined inside it. Since this property file is not in my control, How to resolve this issue?
sonar:sonar
goal. – Florian Schaetz