Skip to content
Advertisement

Tag: sonarqube

Sonar with multi-module gradle project

I have java and kotlin based multi module gradle project. I am trying to setup sonar analysis for the same. I configured sonar at root project and ran analysis with CircleCI. The result in sonarcloud gets for only one of the sub-project. My project structure is as below: projectA/build.gradle ProjectB/build.gradle ProjectC/build.gradle build.gradle Here is my root build.gradle. Answer Need to

Setting up properly SonarQube for Code Coverage

I’m using JUnit5 on a SpringBoot backend application server using Maven. Here is the sonar-project.properties file that is at the root of the project: I use the sonar-scanner command line to run update the project after a build/test. The Overview board on sonar-cloud looks like this: I at least got the unit tests to be recognized, but somehow I’m still

Running sonar analysis with mvn sonar:sonar ignores sonar-project.properties

Latest 3.3 sonar-maven-plugin and 5.6 LTS as web server. Running sonar analysis with mvn sonar:sonar ( Scanner for Maven ) ignores sonar-project.properties file. (with many parameters https://docs.sonarqube.org/display/SONAR/Analysis+Parameters) Is it that the expected behavior? So do I have to configure all sonar parameters within pom.xml files? Answer Other way would be to configure reading via Maven Properties Plugin Q&A

SonarQube complains: Either log or rethrow this exception

I am running SonarQube 5 for code quality check after integrating the code with Maven. Sonar is complaining that I should: Either log or rethrow this exception. in following piece of code: What am I missing here? Answer First of all, is this behaviour correct? Seems a bit weird that you are trying to call convertStringtoDate on the exception message

SonarQube with Radar-Netbeans Plugin Exception

I am trying to analyze my code with radar-netbeans 2.4 plug-in on my 8.0.2 NetBeans IDE, at first my sonar-runner wasn’t even executing, but after I read this post: “Netbeans Radar Plugin Configuration”, I was able to get my sonar-runner to execute until I got this exception: Is there something I can do to fix this exception? Keepin mind that

Advertisement