小编Aur*_*ier的帖子

如何配置Sonar和Maven多级模块?

我遇到了为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)

我尝试了几种配置:

  1. 没有特殊配置:我收到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

5
推荐指数
1
解决办法
7165
查看次数

标签 统计

sonarqube ×1