sonarqube-gradle-plugin:为两层深的子项目派生的错误基本目录
sonarqube-gradle-plugin: Wrong base directory derived for sub-projects two levels deep
我有一个具有以下结构的多项目:
:very:bestappever
:bestappever-distrib
SonarQubePlugin 提供
:sonarqube
09:35:05.139 INFO - Load global repositories
09:35:05.252 INFO - Load global repositories (done) | time=114ms
09:35:05.254 INFO - Server id: 20160428045618
09:35:05.256 INFO - User cache: C:\Users\tk09\.sonar\cache
09:35:05.265 INFO - Install plugins
09:35:05.401 INFO - Install JDBC driver
09:35:05.414 INFO - Create JDBC datasource for jdbc:mysql://10.48.213.38:3306/sonar
09:35:06.456 INFO - Initializing Hibernate
:sonarqube FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sonarqube'.
> The base directory of the module ':very:bestappever' does not exist: C:\Workarea\verybestappever\very\:very:bestappever
您可能会注意到,项目“:very:bestappever”的完整路径插入错误的位置。
这可能与https://jira.sonarsource.com/browse/SONARGRADL-12 from which I've adopted the bestappever example by moving the :bestappever project to :very:bestappever. You can find this example at https://github.com/ThiporKong/sonarqube-gradle-issue有关。
我错过了什么吗?是否有任何配置选项可用于处理深度嵌套的 gradle 多项目?我尝试了 Sonarqube how to configure gradle sub-projects correctly? 的建议,但无济于事。
感谢和问候,
西泊尔
SonarQube 用户组也报告了问题。已创建票证 (https://jira.sonarsource.com/browse/SONARGRADL-14) 并在 Gradle 插件门户上部署了错误修复版本 2.0.1。
我有一个具有以下结构的多项目:
:very:bestappever
:bestappever-distrib
SonarQubePlugin 提供
:sonarqube
09:35:05.139 INFO - Load global repositories
09:35:05.252 INFO - Load global repositories (done) | time=114ms
09:35:05.254 INFO - Server id: 20160428045618
09:35:05.256 INFO - User cache: C:\Users\tk09\.sonar\cache
09:35:05.265 INFO - Install plugins
09:35:05.401 INFO - Install JDBC driver
09:35:05.414 INFO - Create JDBC datasource for jdbc:mysql://10.48.213.38:3306/sonar
09:35:06.456 INFO - Initializing Hibernate
:sonarqube FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sonarqube'.
> The base directory of the module ':very:bestappever' does not exist: C:\Workarea\verybestappever\very\:very:bestappever
您可能会注意到,项目“:very:bestappever”的完整路径插入错误的位置。
这可能与https://jira.sonarsource.com/browse/SONARGRADL-12 from which I've adopted the bestappever example by moving the :bestappever project to :very:bestappever. You can find this example at https://github.com/ThiporKong/sonarqube-gradle-issue有关。
我错过了什么吗?是否有任何配置选项可用于处理深度嵌套的 gradle 多项目?我尝试了 Sonarqube how to configure gradle sub-projects correctly? 的建议,但无济于事。
感谢和问候,
西泊尔
SonarQube 用户组也报告了问题。已创建票证 (https://jira.sonarsource.com/browse/SONARGRADL-14) 并在 Gradle 插件门户上部署了错误修复版本 2.0.1。