m4l490n
(Manuel Malagon)
November 16, 2023, 3:38pm
1
I’m using SonarQube V10.2.1.78527 running locally on my Ubuntu 22.03 and the Eclipse SonarLINT plugin to analyze a project. I configured a folder to be excluded like this:
And it is not working. SonarLINT is analyzing the files in that folder.
What am I missing?
Colin
(Colin)
November 20, 2023, 3:02pm
2
Hey there.
What version of SonarLint for Eclipse are you using?
m4l490n
(Manuel Malagon)
November 27, 2023, 10:09pm
3
The SonarLint version seems to be 9.0.0.81302
Colin
(Colin)
December 1, 2023, 10:24am
4
Thanks for the update. Re-reading your post made me think of this thread and the associated ticket ( SLI-1176
Please provide
Operating system: Debian 11.5
SonarLint plugin version: 10.0.0.76954
Programming language you’re coding in: java
Is connected mode used:
Connected to SonarCloud or SonarQube (and which version): yes, sonarqube 8.7.0.41497
Hello,
we have set sonarqube server side folders exclusions (Administration > Analysis scope > Global source file exclusions, aka sonar.global.exclusions : **/xxx/**/*.java)
These files contains autogenerated java code, for which sonar checks are useless. …
Does this clarify things?
We recently received community reports mentioning that the exclusions settings are not clear.
This is because we don’t take into account the exclusions during 2 cases:
When triggering a manual analysis on the current file
When triggering a report on one or multiple files.