sonar-pdfreport-plugin-1.4 与 Sonar 4.5.1

sonar-pdfreport-plugin-1.4 with Sonar 4.5.1

我正在使用 Sonar 4.5.1 和 sonar-pdfreport-plugin-1.4 运行 构建。未生成 PDF 报告并显示以下消息:内部错误:无法检索项目信息。父项目节点为空。验证?。 我看到了为此发布的错误 (https://jira.sonarsource.com/browse/SONARPLUGINS-3854),但想知道可用于此问题的解决方法是什么。已在常规设置->Pdf 报告中为此设置了用户身份验证,但也不起作用。

此问题已在提交 a49b8f61afbf47b5f7976d0a759cb0efcd6c5bce 中修复。

目前您无法使用此修复程序下载 jar,但您可以下载源代码并构建自定义版本:

  • 获取来源(通过 git clone https://github.com/SonarQubeCommunity/sonar-pdf-report.gitdownload zip
  • 执行maven命令mvn clean install
  • 将生成的 jar 复制到 sonar/data/extensions/plugins