Where can I find all supported parameters (properties)

  • SonarQube Scanner for Maven 3.7.0.1746
  • To get a list of all supported parameters or properties
  • Google

I tried to only analyze a single file an find solution here: https://stackoverflow.com/questions/23513697/any-means-to-run-sonar-analysis-on-a-single-file
However, when I try to get more information about -Dsonar.inclusions property, I cannot even find it from sonarqube document site: https://docs.sonarqube.org/latest/analysis/analysis-parameters/

So, here comes my question: where can I find all supported parameters (properties)

I think sonar.sources plays the same role with sonar.inclusions. And maybe the answer to my question is https://docs.sonarqube.org/latest/analysis/analysis-parameters.

But where is -Dsonar.inclusions? Why no place to introduce it?

Finally, I found it:

But is it deprecated in the latest version?

Hi,

Welcome to the community!

There are a lot of parameters you can set via analysis parameters. That doesn’t mean you should or that they’re deprecated if they don’t show up there. You’ll find the can-and-should list in the current Analysis Parameters page.

And you’ll find inclusions and exclusions in the UI.

 
:smiley:
Ann