I’ve connected the IDE plugin to SonarQube cloud. I want to exclude all the files in src/main/java/db/schema
when I trigger analysis manually in the IDE, and when the files are analysed in the cloud (i.e. when a PR is opened on GitHub)
I’ve added a .sonarcloud.properties
file to my project root with the property:
sonar.exclusions=src/main/java/db/schema/*
But when I manually trigger the SonarQube analysis in the IDE, violations in these files are reported.
- Operating system: macOS
- SonarQube for IntelliJ plugin version: 10.16.1.80464
- IntelliJ version: 2024.3.2.2
- Programming language you’re coding in: Java
- Is connected mode used: SonarQube Cloud