SonarQube Runner vs Scanner

Answer is very simple: “Runner” is the old name for “Scanner”. Everything you need to know about the different SonarQube Scanners is available on the Scanners part of the official documentation. If you’re stuck to Java 7, then you can use: SonarQube Runner (sonar-runner) up to version 5.5 of SonarQube SonarQube Scanner (sonar-scanner) 2.6.1

Sonarqube 5 – how do I mark false-positive?

I have found the answer here: False Positive option don’t appear on projects The issue is that although the admin LDAP group I belong to was granted “Administer System” rights in Global Permissions, it also needs to be added excplicitly to Project Permissions (either per project, or to the default template).

Sonar Setup Undefined Mandatory Properties

If you have a java project, you must create a sonar-project.properties file in the folder where you execute sonar runner. You must define the following properties inside this file: # Required metadata sonar.projectKey=java-sonar-runner-simple sonar.projectName=Simple Java project analyzed with the SonarQube Runner sonar.projectVersion=1.0 # Comma-separated paths to directories with sources (required) sonar.sources=src # Language sonar.language=java # … Read more

SonarQube rule: “Using command line arguments is security-sensitive” in Spring Boot application

If you are not using any command-line arguments ,then you could avoid mentioning the args parameter in the run method .Like the below code. @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class); } } This will remove sonarqube hotspot issue.

How do I use, or set up sonar-project.properties file?

Here are some resources to get you started https://www.wrightfully.com/setting-up-sonar-analysis-for-c-projects/ – See Step 6: The sonar-project.properties file. https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner There are also some sample projects on github, you can refer to the project.properties files there as well, https://github.com/SonarSource/sonar-scanning-examples

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)