Note that Advanced Reactor Options (such as "--projects" and "--resume-from") are not supported by SonarQube and should not be used.
When the above configuration is not possible, you can run an analysis in one command, but unit tests will run twice: once in the
install goal and once in the
sonar:sonar goal. Do not use the
-DskipTests=true parameter, otherwise the unit tests will not be executed at all.