sonar-pdfreport-plugin-1.4 with Sonar 4.5.1

删除回忆录丶 提交于 2019-12-12 05:29:34

问题


I am using Sonar 4.5.1 and sonar-pdfreport-plugin-1.4 to run the build. PDF report is not getting generated an is showing below message : Internal error: Can't retrieve project info. Parent project node is empty. Authentication?. I saw a bug posted for this (https://jira.sonarsource.com/browse/SONARPLUGINS-3854) but would like to know what is the workaround available for this issue. User Authentication is already set for this in General Settings->Pdf report but doesn't work either.


回答1:


This issue has been fixed in commit a49b8f61afbf47b5f7976d0a759cb0efcd6c5bce.

For now you cannot download jar with this fix, but you can download sources and build custom version:

  • fetch sources (by git clone https://github.com/SonarQubeCommunity/sonar-pdf-report.git or download zip)
  • execute maven command mvn clean install
  • copy generated jar to sonar/data/extensions/plugins


来源:https://stackoverflow.com/questions/34059855/sonar-pdfreport-plugin-1-4-with-sonar-4-5-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!