声纳报告中未显示Pitest结果

问题描述

我正在尝试将Bamboo计划配置为运行最灵巧的方法,并将结果显示在声纳报告中。我的Java项目在pom.xml

中具有以下内容
<dependency>
    <groupId>org.sonarsource.scanner.maven</groupId>
    <artifactId>sonar-maven-plugin</artifactId>
    <version>3.7.0.1746</version>
</dependency>

...

<plugin>
    <groupId>org.pitest</groupId>
    <artifactId>pitest-maven</artifactId>
    <version>1.5.2</version>
    <configuration>
        <inScopeClasses>
            <param>com.me.cdi*</param>
        </inScopeClasses>
        <targetClasses>
            <param>com.me.cdi*</param>
        </targetClasses>
        <outputFormats>
            <outputFormat>XML</outputFormat> 
        </outputFormats>
    </configuration>
    <dependencies>
        <dependency>
            <groupId>org.pitest</groupId>
            <artifactId>pitest-junit5-plugin</artifactId>
            <version>0.12</version>
        </dependency>
    </dependencies>
   </plugin>

我创建了一个目标为Maven 3.x的{​​{1}}任务,然后创建了另一个目标为clean install org.pitest:pitest-maven:mutationCoverage的{​​{1}}任务。

Bamboo计划成功执行,我可以看到最艰巨的任务创建了xml文件,但是Sonar没有显示结果。我必须在Sonar中进行一些配置以实现此目的吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)