I am trying to exclude many files in different directory from code coverage as it is counting those loc towards coverage and exceeding limit of account.
But even after adding exclusion files ( Your Project > Administration > General Settings - Analysis Scope > Code Coverage) in SonarCloud UI as given in below URL , still files are not excluded while running the sonar scan in bit-bucket.
it shows 0 files are excluded.
Kindly advice , how can i fix?
[INFO] Indexing files...
[INFO] Project configuration:
[INFO] Excluded sources: **/build-wrapper-dump.json, jp/co/jal/upgrade/payment/model/**/*.java, jp/co/jal/infrastructure/base/model/**/*.java, jp/co/jal/infrastructure/loyaltycard/model/**/*.java, org/**/*.java, com/**/*.java
[INFO] Excluded sources for coverage: src/test/**/**/*.*, src/main/resources/**/**/*.*, src/main/java/com/**/**/*.*, src/main/java/jp/co/jal/upgrade/payment/model/**/**/*.*, src/main/java/jp/co/jal/infrastructure/**/**/*.*, src/main/java/org/**/**/*.*
[INFO] 2923 files indexed
[INFO] 0 files ignored because of inclusion/exclusion patterns
[INFO] 0 files ignored because of scm ignore settings
[INFO] Quality profile for java: Sonar way
[INFO] Quality profile for xml: Sonar way