使用 sonar的时候,出现错误提示:
can’t have 2 modules with the following key
是因为是多模块项目,
所有子项目添加
<properties>
<sonar.moduleKey>
${project.groupId}:${project.artifactId}
</sonar.moduleKey>
</properties>
即可.
博客介绍了使用Sonar时遇到的错误,提示‘can’t have 2 modules with the following key’,指出该问题出现在多模块项目中,解决办法是在所有子项目添加相关内容。
使用 sonar的时候,出现错误提示:
can’t have 2 modules with the following key
是因为是多模块项目,
所有子项目添加
<properties>
<sonar.moduleKey>
${project.groupId}:${project.artifactId}
</sonar.moduleKey>
</properties>
即可.
169
4997

被折叠的 条评论
为什么被折叠?