从 Maven 在 SonarQube 中执行分析,但不将结果存储在数据库中

问题描述 投票:0回答:1

我正在 Eclipse 中开发一个新项目,我必须使用 SonarQube 对其进行分析。我正在对代码进行大量更改并对其进行分析,但我不希望 SonarQube 将所有结果存储在其数据库中(它们是临时版本)。有什么选择吗?

我已经配置了我的pom文件,如sonarQube官方配置

<profile>
        <id>sonar</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <properties>
            <sonar.host.url>
              http://myserver:9000
            </sonar.host.url>
        </properties>
    </profile>

它与 Sonar 连接并执行分析,但我在 SonarQube 中存储了大量无用的执行。

问候

maven sonarqube
1个回答
0
投票

您可能会从 SonarLint Eclipse 插件中获得一些价值:https://www.sonarlint.org/eclipse .

有了这个,您也许能够在提交完整的声纳扫描之前迭代本地更改。

© www.soinside.com 2019 - 2024. All rights reserved.