intellij sonarlint plugin, Analysis properties, sonar.exclusions parameter does not work

1,185 views
Skip to first unread message

hkar...@gmail.com

unread,
Oct 31, 2017, 3:51:46 AM10/31/17
to SonarLint
Hi,

I running sonarlint analyze with selecting scope as "All project files" . But when I want to exclude some files or directories , it does not work. For example,  to test whether it works, 

I added simple parameter -->  sonar.exclusions = **/*.java

I expect skip all java classes and so no analysis, but it ignore the added parameter , analysis the whole project files.  

// Where I added parameter from Intellij
Settings -> Other  Settings->Sonarlint Project Settings -> Analysis properties

Let me know, Analysis properties need to bind remote Sonar Qube server to work ? Or, possible to exclude some files with plugin without binding remote server? 

Thanks.

janos....@sonarsource.com

unread,
Nov 24, 2017, 3:48:53 AM11/24/17
to SonarLint
Hi,

Unfortunately the `sonar.exclusions` property is ignored by SonarLint for IntelliJ (and Eclipse too). There's a ticket to add support for that, feel free to vote on it:


Cheers,
Janos
Reply all
Reply to author
Forward
0 new messages