How to have plugin behaving like "mvn sonar:sonar"?

Hey @Mumeii, you’re right: SonarQube for IDE doesn’t read properties from pom.xml or similar configuration sources. To have the same configuration, you mainly have 2 options:

  1. In connected mode, move the properties you have in pom.xml to the SonarQube Cloud-side, per-project UI configuration (Analysis Scope / File Exclusions in project settings). The IDE extension downloads these settings via the project binding.
  2. In standalone mode (not bound), copy the properties you have in pom.xml in the SonarQube for IDE settings.

This has been discussed in the past, see for example this thread: [Intellij Sonarlint plugin] Respect pom.xml configurations .

I will nonetheless flag this for the PMs so that they are aware of your feedback, it’s important for us to hear how this is a source of friction for you.