I have a project consisting of several modules.
I am trying to analyze them using SonarQube.
I have included the Sonar Maven plugin as a dependency in each module:
<dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>5.1</version> </dependency>
Then I start Maven using:
mvn net sonar test: sonar
Maven completes successfully, and I see that sonar analysis is happening, however, when I open the Sonar user interface, the modules are not visible in the projects.
But...
If I run the Maven command from a separate module directory, it is visible in projects.
Feel that I am missing something very simple, appreciate any help!
source share