我遇到了为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'. …sonarqube ×1