Are overridden properties in pom.xml considered in PR analysis/SonarLint?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SQ-8.1 and Sonar maven plugin: 3.7.x

In documentation for sonar maven plugin, it says:

If you would like override the default values of specify additional parameters, configure the parameter names found on the Analysis Parameters page in the <properties> section of your pom.xml

My question is: if we override something in our project by adding properties in pom.xml, would it be effective even for PR analysis and Sonarlint analysis?


Hi Kumar,

Assuming that override was present in the PR’s underlying branch, then yes it should be.


Thanks a lot Ann.