Problems
In Sonarqube 7.6, Multi-Module analysis properties removed, that means we cannot use “sonar.modules” in our sonar property files. So Is there any alternative proposal for this?
The content in the property file before Sonarqube 7.6
For the properties above, it will get error if it contains same java name in different folders for the same project. same issue in stackoverFlow, it contains two solutions for this issue, it cannot help for me, because we still want to includes all those of the same name java file(they are different code), and cannot rename the file name also.
Any solution?
so could anyone help on this? if you have any advice, please let me know and check, much thanks!
Thanks for your kindly reply! I still have my question and need your help.
Yes, we are using Maven and I want to clear my question: how to configure the sonar properties file if no “sonar.modules” in the latest Sonarqube version 7.6?
Because we are using “sonar.modules” in our sonar properties file, if no “sonar.modules” properties, how can we update properties and let it still work? We had tried to configure multiple folders from different modules in a project to “sonar.sources”, eg: sonar.sources=/folder1/src, /folder2/src, but unfortunately it failed because JACOCO can’t add different class with same name.
We can config sonar properties in pom.xml, but many project in our side use sonar properties file, so may I know how can we update the sonar properties file if no “sonar.modules”?