Sonar module name created from maven
<maven groupId>:<maven artifactId>:<branch name>
In some cases, they may have the same values ββfor different applications.
In this case, the sonar will be confused, and rightly so.
The solution in this case is to use Matthias Burney's solution with
<properties> <sonar.moduleKey>groupId:artifactId:some distinct identifier</sonar.moduleKey> </properties>
However, a better way to do this would be to have different combinations of groupId-artifactId for different applications.
source share