我遇到了为Sonar Analysis配置多级maven模块的问题.
它具有以下结构:
parent module
|- level 1
|- module with code to analyze
Run Code Online (Sandbox Code Playgroud)
但是,如果我使用要分析的代码向模块添加深度,我将无法对其进行配置.
parent module
|- level 1
|- level 2
|- module with code to analyze
Run Code Online (Sandbox Code Playgroud)
我尝试了几种配置:
Can not execute SonarQube analysis: The project 'level 2' is already defined in SonarQube but not as a module of project 'level 1'. If you really want to stop directly analysing project 'level 2', please first delete it from SonarQube and then relaunch the analysis of project 'level 1'.错误.我不想在1级上启动,因为我在同一级别进行了集成测试,直接在父模块中.有人知道如何处理它吗?(我的意思是不修改层级文件夹,这对其他一些要求非常有帮助)
谢谢你提前
| 归档时间: |
|
| 查看次数: |
7165 次 |
| 最近记录: |