且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将结果导出为 PDF 报告?

更新时间:2023-01-30 16:41:55

对于 sonar-maven-plugin 它的工作原理是一样的.只需将这两个属性添加到 pom 文件中即可:

For the sonar-maven-plugin it works the same. Just add these two properties to the pom file:

<project xmlns="...>
     ...
    <properties>
         <sonar.analysis.mode>preview</sonar.analysis.mode>
         <sonar.issuesReport.html.enable>true</sonar.issuesReport.html.enable>
    </properties>
    ...
</project>

结果将在目标/声纳文件夹中

results will be in the target/sonar folder