Using multicriteria from pom in SonarLint plugin

Please provide

  • Operating system: Ubuntu 20.04.4
  • IDE name and flavor/env: IntelliJ 2021.3.3
  • SonarLint plugin version:
  • Is connected mode used: Yes
    • Connected to SonarCloud or SonarQube (and which version): SonarQube 9.3

And a thorough description of the problem / question:

In our project pom we have set up some sonar multicriteria exclusions to use with the maven sonar scanner.

Now I would like to know if it is possible to use that same configuration for when running an analysis through the SonarLint plugin inside IntelliJ. Or if there is a possibility to have a config file inside the source code where the SonarScanner and the SonarLint plugin could both go to read the configuration.

I have read that if you configure this through SonarQube it would also work with the SonarLint plugin because we use it in connected mode, but I specifically would like to have the configuration in the source code.

Is this possible?

Thanks in advance!

Hi @jensw

This is currently not possible. The only way to share configuration between SonarLint and SonarQube/SonarCloud is to define the configuration on the server.

We have this feature request open where you can vote, but this is currently low in our priority:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.