Why is Gradle / / Sonar Jacoco looking for dir and also project?

戏子无情 提交于 2019-12-25 08:47:31

问题


Background:

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.

If I can find a way to force it to build the path correctly, I may be able to work around other issues.


回答1:


This has been fixed by the Sonar Source Team with https://jira.sonarsource.com/browse/SONARGRADL-14 and a bugfix release 2.0.1 was deployed on Gradle plugin portal.



来源:https://stackoverflow.com/questions/36896336/why-is-gradle-sonar-jacoco-looking-for-dir-and-also-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!