Problems with Sonar / Jacoco

sonarqube

(Jim C.) #1

We have two subprojects each with many sub-sub-projects. The root
project is an empty parent. We have one project that is strictly for the
flyway plugin. Often times names do not match directories. For
perspective, settings.gradle is 219 lines and roughly half of those are
projects.

So I’m getting this error:

Caused by: java.lang.IllegalStateException: The base directory of the
module ‘:commons:sitewidget’ does not exist:
/dev/abc/commons/:commons:sitewidget

Here is the question: How did the SonarQube Gradle plugin build that path? By this, I mean /dev/abc/commons/:commons:sitewidget which doesn’t exist. The actual path is /dev/abc/commons/sitewidget.