Closed saragluna closed 2 years ago
As subject.
There're two approaches to exclude the folder:
-Dsonar.exclusions=eng/**
This PR will choose the second one, so the code of eng/ folder won't show on the report at all.
Refs: https://stackoverflow.com/questions/21425012/configure-sonar-to-exclude-files-from-maven-pom-xml https://community.sonarsource.com/t/sonarcloud-doesnt-exclude-specific-folder/36852/6
https://github.com/Azure/spring-cloud-azure-tools/runs/6110069229?check_suite_focus=true https://sonarcloud.io/code?id=stliu_azure-sdk-for-java
As subject.
There're two approaches to exclude the folder:
-Dsonar.exclusions=eng/**
to the maven build commandThis PR will choose the second one, so the code of eng/ folder won't show on the report at all.
Refs: https://stackoverflow.com/questions/21425012/configure-sonar-to-exclude-files-from-maven-pom-xml https://community.sonarsource.com/t/sonarcloud-doesnt-exclude-specific-folder/36852/6