Hi Ann,
It doesn't seem to be related to a specific rule.
It seems that every issue is duplicated.
In the Issues list of the project, it shows the issue once with the module name and file path and once with only the file path and as module nothing, e.g.:
ModuleA / src/com/companyname/java/packagename/File.java
and
src/.../src/com/companyname/java/packagename/File.java
This, combined with the fact that it is reporting issues on files in directories that are not listed as modules, leads me to believe that it is scanning both the modules and then from the sonar.sources directory once more.
It should only analyse the modules that I explicitly specified. I tried removing the sonar.sources=src property in the properties file but apparently that line is required.
This must be connected to the update from 6.3 to 6.4.
I also discovered this discussion:
https://groups.google.com/d/msg/sonarqube/-Cz6r8dJlsQ/_TfETvkFBgAJ where Julien Henry mentions that it will be possible in 6.4 to have a multi-module project with src in root. It seems that this is the exact opposite of what I want. I have a lot of source in my root directory but I only want these specific modules to be analyzed.
Op woensdag 21 juni 2017 15:25:44 UTC+2 schreef G. Ann Campbell: