问题
I am using sonar-maven3-plugin 3.5.1 and i don't know how to configure PDF report for this plugin. Is sonar-maven3-plugin uses any internal plugin for report. I don't know how and where to configure the reporting plugin.
回答1:
In Sonar 4.0+ the plugin is included with the base install. The PDF is generated automatically when you run mvn sonar:sonar
, but the dashboard doesn't contain the PDF widget by default. Add it by going to Dashboards > Configure Widgets. Search for and add the PDF widget.
回答2:
I guess starting by reading the documentation page might be a good starting point : http://docs.codehaus.org/display/SONAR/PDF+Plugin
来源:https://stackoverflow.com/questions/17324184/pdf-report-maven-configuration-with-sonar-maven3-plugin-3-5-1-verstion