Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- what are you trying to achieve
- what have you tried so far to achieve this
Currently I am working on project where I have to perform code coverage and update it on sonarqube.
As I was exploring we can do it via 2 ways
- sonar-scanner by adding configuration in sonar-project.properties
- mvn sonar:sonar -----> it will pick data from pom.xml
I am able to complete my task with both steps. But I am still not clear about which approach is better?
Or when basically should I choose sonar-scanner or mvn sonar?
Kindly help me in resolving this query.
Thanks