Greetings,
I am experiencing the below issue in the project I am working on (using SonarCloud).
“File bundles/net.tourbook/src-test/net/tourbook/weather/WeatherUtilsTests.java can’t be indexed twice. Please check that inclusion/exclusion patterns produce disjoint sets for main and test files”
I have followed the official documentation without any success.
Here is my sonar properties, note that I am using the test.inclusion and exclusions following the doc, can you please advise ?
property 'sonar.sources', 'bundles/'
property 'sonar.tests', 'bundles/'
// Include test subdirectories in test scope
property 'sonar.test.inclusions', 'bundles/*tests/**/*.*, bundles/**/src-test/**/*.*'
// Exclude test subdirectories from source scope
property 'sonar.exclusions', 'bundles/*tests/**/*.*, bundles/**/src-test/**/*.* '